Documentation

UI/Datepicker/ChangeLog

From jQuery JavaScript Library

Jump to: navigation, search

« Back to UI/Datepicker

Contents

Version 1.6.x Updates (Pending)

  • Keystrokes not recognised by datepicker are passed onto field. (3082)
  • Inline datepicker doesn't initialise from input field. (3080)
  • Control order of month and year select boxes using showMonthAfterYear setting. (3084)
  • Handle ids with embedded meta-characters. (3108, 3113)
  • Add big previous/next links to scroll by year (by default) using showBigPrevNext setting. Use prevBigText and nextBigText for the displayed text and prevBigStatus and nextBigStatus for their status values. Use stepBigMonths to set the number of months to move for these links. (3111)
  • Fixed date duplications (again). (3088, 3105)
  • Display simultaneously past and current month in datepicker using showCurrentAtPos setting. (2818)
  • Reinitialises internal state on 'change' command. (3116)
  • onChangeMonthYear now triggered for 'setDate' command and always called before rendering new month. (3146)

Version 1.5.x Updates

  • showAnim setting now supports jQuery UI effects.
  • Added showOptions setting to pass additional options to jQuery UI effects.
  • Added navigationAsDateFormat to allow previous/current/next links to contain date-specific information. (2593)
  • Added gotoCurrent setting to make the 'Today' link show the month with the currently selected date.
  • Added highlightWeek setting to highlight the entire week when hovering over a day in the datepicker. (2641)
  • Renamed speed setting to duration for consistency with other UI plugins. (3050)
  • Allow beforeShowDay function to also return an optional cell title.
  • Added onChangeMonthYear setting to trigger when the months shown on the datepicker are changed. (2876)
  • Added altField and altFormat settings to allow the datepicker to simultaneously set the selected date into another field with another format. (2038)
  • Changed to use $.data for instance details.
  • Removed datepicker_wrapper division around input and trigger.
  • Determine datepicker size and thus position before showing. (2371)
  • Reconfigure select-covering iframe (IE6-) for each display.
  • Added timestamp format (@) to parseDate and formatDate functions. (2044)
  • Added standard date formats as $.datepicker constants: ATOM, COOKIE, ISO_8601, RFC_822, RFC_850, RFC_1036, RFC_1123, RFC_2822, RSS, TIMESTAMP, W3C. (2044)
  • Corrected allowable characters in input. (2700)
  • Corrected doubling up of days in some months - due to the switch to/from summer time in some time zones. (3072)
  • Allow setDate command to accept relative dates.
  • CSS classes changed to jQuery UI format: ui-name-more. (2650)

Version 3.4.x Updates

  • Changed class names for jQuery UI v1.5
  • Formatting updates to demo page.
  • Code optimizations.
  • Added Bulgarian translation.
  • Starts with a semicolon.
  • Fixed scrolled overflow elements.
  • Fixed wiki demo in IE and Safari.
  • Added lithuanian translation.
  • Consolidate formatting parameters for formatDate and parseDate.
  • Replace hasClass() with is().
  • Allow control characters to be typed (copy/paste).
  • Fix width bug for multiple months display.
  • Trigger button now toggles date picker.
  • Default date is always within min/max date restrictions.
  • Use reverse animations for hide based on showAnim setting.
  • Added onClose setting.
  • Apply both datepicker_currentDay and datepicker_today styles if applicable.
  • Default date is not depicted as the current date.
  • Fix jump on Next when showing multiple months and selecting in later months.

Functions renamed for jQuery UI v1.5

  • attachDatepicker is now datepicker
  • removeDatepicker is now datepicker("destroy")
  • changeDatepicker is now datepicker("change")
  • disableDatepicker is now datepicker("disable")
  • enableDatepicker is now datepicker("enable")
  • isDisabledDatepicker is now datepicker("isDisabled")
  • showDatepicker is now datepicker("show")
  • getDateDatepicker is now datepicker("getDate")
  • setDateDatepicker is now datepicker("setDate", ...)

Version 3.3 Updates

Changes made to the core for consistency with jQuery UI

  • Changed $(selector).datepicker() to $(selector).attachDatepicker().
  • Changed $.datepicker.enableFor(control) to $(selector).enableDatepicker().
  • Changed $.datepicker.disableFor(control) to $(selector).disableDatepicker().
  • Changed $.datepicker.isDisabled(control) to $(selector).isDisabledDatepicker().
  • Changed $.datepicker.reconfigureFor(control, settings) to $(selector).changeDatepicker(settings).
  • Changed $.datepicker.setDateFor(control, date) to $(selector).setDatepickerDate(date).
  • Changed $.datepicker.getDateFor(control) to $(selector).getDatepickerDate().
  • Changed $.datepicker.showFor(control) to $(selector).showDatepicker().
  • Added $(selector).removeDatepicker.
  • Updated compatibility file to reflect changes to core functions.

Other Updates

  • Restore field focus after selection.
  • Pass current input through to callbacks as 'this'.
  • Mark weekend days in month header.
  • Add showAnim setting to control popup animation.
  • Better handling of previous/next with multiple months and minimum/maximum dates.
  • Allow defaultDate/minDate/maxDate to be set as relative days/weeks/months/years.
  • Demonstrate above relative settings.
  • Demonstrate day status callback.
  • Demonstrate showAnim setting.
  • Demonstrate removeDatepicker.
  • Added Traditional Chinese and Icelandic localizations.
  • Show localizations list in native tongue and English.

Version 3.2 Updates - December 25th, 2007

  • Added Thai, Norwegian and Hebrew localization.
  • Add status bar translations.
  • Add status bar.
  • Add support for right-to-left languages.
  • Add mandatory option.
  • Added fixes, patches and minor updates.
  • Changed named entities to character entities.
  • Support datepickers in CSS fixed areas.

Version 3.1 Updates - November 14, 2007

  • Corrected positioning so date picker is always visible on the page.
  • Enhanced date formatting.
  • Added parseDate and formatDate functions, accessible from $.datepicker.
  • Removed useShortYear as superceded by date formatting options.
  • Popup long day name for column headers.
  • Updated localisation scripts with extra day and month names.
  • Added JsUnit tests.
  • Allow dialog to appear where clicked.
  • Added showWeeks and calculateWeek settings with an implementation of the ISO 8601 algorithm.

Version 3.0 Updates - October 31, 2007

  • Completed rework of demo page.
  • Created i18n, core, compatibility and extras folder structure.
  • Reworked the demonstration markup and display (not completed).
  • Default to US date format.
  • Adjust for number of days in the month when changing month/year.
  • Don't automatically move months on multi-month range selection.
  • Correct centring of "dialog" in viewport by default.
  • Return manager object from functions that currently return nothing.
  • Remove instance parameter from hideDatepicker, use current instance instead.
  • Added ability to handle short year format: useShortYear and shortYearCutoff settings.
  • Updated getDateFor and setDateFor to handle date ranges.
  • Fixed initialisation bug in IE.
  • Prevent keyboard selection of unselectable dates.
  • Fixed disabling of trigger buttons.
  • Enhanced parameters for reconfigureFor, setDateFor, getDateFor.
  • Renamed files from jquery-calendar* to ui.datepicker*.
  • Updated version to 3.0.
  • Renamed popUpCal object to $.datepicker.
  • Renamed $().calendar function to $().datepicker.
  • Renamed autoPopUp setting to showOn.
  • Renamed fieldSettings setting to beforeShow.
  • Renamed customDate setting to beforeShowDay.
  • Renamed cal: namespace for inline configuration to date:.
  • Renamed hideCalendar function to hideDatepicker.
  • Renamed dialogCalendar function to dialogDatepicker.
  • Added firstDay to localisations.
  • Renamed multiSelect to rangeSelect.
  • Allow numberOfMonths to be an array of number of rows and columns.
  • Added stepMonths as increment for multiple months.
  • Added rangeSeparator as text between two dates for a range.
  • setDateFor, getDateFor, showFor now accept jQuery selector (string).
  • Renamed CSS classes to be calendar_*.
  • Improved alignment of header links (CSS).
  • Demonstrate multiple month calendars as popups and inline.
  • Added debuggging popUpCal.log(), debug = true/false to turn on and off.
  • Added user fix to reconfigureFor.
  • To remove conflicts with other libraries, wrapped code in: (function($){*code*})(jQuery);
  • Added boolean multiSelect to allow users to select a date range with two clicks.
  • Added ability to highlight date ranges.
  • Added more functionality to numberOfMonths *still in development*.
  • Modified dialog position function to be more accurate.
  • Used new jQuery offset methods: $(window).width/height and $(el).offset().top/left.
  • Added new feature numberOfMonths *still in development*.
  • Flag fields with hasCalendar class and don't re-process.
  • Demonstrate calendar use with linked drop-downs for day/month/year.
  • Fixed bug with fieldSettings (showed up in date range usage).
  • Updated reconfigureFor to accept a selector string as an alternative parameter.
  • Added defaultDate attribute as initial date on opening - can be set to an actual date or relative to today (+/-number). Leave as null for today.
  • Added _findPos fix for hidden inputs.
  • Updated licence - added GPL.
  • Fixed reposition function to be cross-browser (IE6+, Opera, Safari, FF).