Code Monkey home page Code Monkey logo

bootstrap-datetimepicker's Introduction

#Bootstrap v3 datetimepicker widget

##Using Moment.js Version 2 now requires Momentjs. Version 1 can still be found here. Version 2 has better support for date formats and mutilanguage. See documentation for examples. The format strings have changed due to using moment. Check Momentjs' homepage for documentation

####New feature (2.1.5)!

  • Custom icons, such as Font Awesome, are now supported. (#49) See Example#9
  • If more then one input-group-addon is present use datepickerbutton to identify where the picker should popup from. (#48)
  • New Event: error.dp. Fires when Moment cannot parse the date or when the timepicker cannot change because of a disabledDates setting. Returns a Moment date object. The specific error can be found be using invalidAt(). For more information see Moment's docs
  • Fix for #42, plugin will now check for A or a in the format string to determine if the AM/PM selector should display.
  • Fix for #45, fixed null/empty and invalid dates
  • Fix for #46, fixed active date highlighting
  • Fix for #47, change.dp event to also include the previous date.

####New feature (2.0.1)!

  • New event error.dp fires when plugin cannot parse date or when increase/descreasing hours/minutes to a disabled date. See Example#7
  • Minor fixes

####New feature (2.0.0)!

  • disabledDates is now an option to set the disabled dates. It accepts date objects like new Date("November 12, 2013 00:00:00") and 12/25/2013' and moment` date objects. See Example#7 for usage.
  • Events are easier to use; see Example#8

###Removed features

  • pickSeconds
  • pick12HourFormat
  • maskInput

Documentation is here with examples and usage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.