Skip to content

Releases: nehakadam/DateTimePicker

Minor Bug Fixes and Updated Example

24 Oct 04:58
Compare
Choose a tag to compare

Minor Bug Fixes -

Modified oDateTime parameter of formatDateTimeString callback to add -
oDateTime.day - full day name
oDateTime.dayShort - short day name

Updated Example -

Updated “BasicExamples-CustomInputValue.htm” to include TimePicker and DateTimePicker.

Callback Function For Custom Formatting and Parsing

23 Oct 14:13
Compare
Choose a tag to compare

Added a callback functions for parsing and formatting DateTime string in a format not supported by DateTimePicker.

  1. parseDateTimeString(sDateTime, sMode, oInputElement)
    Parsing a custom DateTime string to a Javascript Date object.
  2. formatDateTimeString(oDateTime, sMode, oInputElement)
    Formatting Date in a Custom DateTime Format.

Example - Custom Input Value

Zepto Support

15 Oct 12:15
Compare
Choose a tag to compare

Added DateTimePicker-Zepto.js file.

You will have to use a custom build of Zepto with following Modules -

  • Core Modules (zepto, event, ajax, form, ie)
  • fx
  • fx_methods
  • data

There are some bugs because Zepto does not support all events and functions of jQuery.
Known Bugs -

  • DateTimePicker is removed when you switch tab while DateTimePicker popup is open because blur event is not fired.
  • TAB-key based navigation is not working since selector $("[tabIndex="+ var_tabindex + "]") is not supported. So supporting this feature atleast with current code is not possible. See Zepto Issue

Dutch and French Locale Files

11 Oct 08:01
Compare
Choose a tag to compare

Added Dutch and French Locale Files.

i18n Support, Month-Year Format and Human Date Formatting

28 Sep 13:35
Compare
Choose a tag to compare
  • Improved support for Internationalization. i18n strings for a particular language can be added in a separate file and used in your application. This features is modified based on #55. Added example of Internationalization.
  • Added 3 new dateFormat options ("MM yyyy", "MMM yyyy", "MMMM yyyy") and monthYearSeparator for these options. This features is modified based on #18. Added example of new dateFormats.
  • Modified formatHumanDate callback function to work in all modes ("date", "time", "datetime"). Modified example of Human Date Formatting.

Support for Seconds in TimeFormat and DateTimeFormat

26 Sep 14:17
Compare
Choose a tag to compare

Changes in “DateTimePicker.js" -

  • support for Seconds in TimeFormat and DateTimeFormat as requested in #15
  • secondsInterval parameter to increment/decrement values in certain intervals
  • roundOffInterval parameter to round off value of seconds in will be rounded off to nearest integer divisible by secondsInterval

Added Examples -

Known Bugs -

Broken functionality on navigation using TAB.

Fix for Blinking of DateTimePicker.

21 Aug 05:44
Compare
Choose a tag to compare

Fixed Blinking of DateTimePicker related to #52.

Resolution of #51(Show DateTimePicker) and #48(Example)

18 Aug 07:37
Compare
Choose a tag to compare
  1. Resolved issue #51-
    Hide Previous DateTimePicker and Show New DateTimePicker on Next Input
    Field Click when using isPopup: false.
  2. Added Example - Multiple MinuteIntervals to display two TimePickers with different minuteInterval on a single page.

Fixed issue in DateTime Keyboard Input

18 Aug 07:33
Compare
Choose a tag to compare

When values in Hours and Minutes Input boxes were entered as blank, on blur event NaN value used to be assigned in the Input Box.

0.1.8

20 May 12:43
Compare
Choose a tag to compare

DateTimePicker 0.1.8

Modified "package.json" file -

Updated main field to contain a string value
Changed dependencies to peerDependencies