How to use eonasdan-bootstrap-datetimepicker - 1 common examples

To help you get started, we’ve selected a few eonasdan-bootstrap-datetimepicker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / eonasdan-bootstrap-datetimepicker / eonasdan-bootstrap-datetimepicker-tests.ts View on Github external
time: "fa fa-clock-o",
        date: "fa fa-calendar",
        up: "fa fa-arrow-up",
        down: "fa fa-arrow-down"

// Min View Mode
    viewMode: "years",
    format: "MM/YYYY"

// Disabled Days of the Week
    daysOfWeekDisabled: [0, 6, EonasdanBootstrapDatetimepicker.DayOfWeek.Thursday]

// Inline
    inline: true,
    sideBySide: true

// Functions
    useCurrent: true,
    format: "DD/MM/YYYY",
    showTodayButton: true,
    showClear: true,
    showClose: true,
    maxDate: new Date(),


A date/time picker component designed to work with Bootstrap 3 and Momentjs. For usage, installation and demos see Project Site on GitHub

Latest version published 2 years ago

Package Health Score

71 / 100
Full package analysis

Popular eonasdan-bootstrap-datetimepicker functions