Documentation

Plugins/Calendar/ChangeLog

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Plugins/Calendar

Contents

Version 3.0 Updates

October 18, 2007

  • Added ability to handle short year format: useShortYear and shortYearCutoff settings.
  • Updated getDateFor and setDateFor to handle date ranges.

October 10, 2007

  • Fixed initialisation bug in IE.
  • Prevent keyboard selection of unselectable dates.
  • Fixed disabling of trigger buttons.
  • Enhanced parameters for reconfigureFor, setDateFor, getDateFor.

October 7, 2007

  • 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.

September 23, 2007

  • 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.

September 20, 2007

  • 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*.

September 19, 2007

  • 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*.

September 13, 2007

  • Flag fields with hasCalendar class and don't re-process.
  • Demonstrate calendar use with linked drop-downs for day/month/year.

September 12, 2007

  • 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.

September 6, 2007

  • Added _findPos fix for hidden inputs.

September 4, 2007

  • Updated licence - added GPL.

August 31, 2007

  • Fixed reposition function to be cross-browser (IE6+, Opera, Safari, FF).

Version 2.7 Updates

August 28, 2007

  • Fixed Opera Bugs.
  • Updated _checkExternalClick function.
  • Changed when to recognize calendar as open.
  • Added minor changes/fixes from community.
  • Added Hungarian localisation.

August 22, 2007

  • Corrected bug in key press processing.
  • Updated localisation packages, renamed German package, added Italian, Polish and Russian.
  • Corrected bug in numeric parsing.
  • Reposition calendar if not enough room on screen.

August 09, 2007

  • Inline calendars can now reside in span as well as div.
  • Calendar fields can be configured inline as attributes on the input

field in the 'cal:' namespace corresponding to the normal calendar properties.

  • Localisation support has been reworked to better fit with the new

instance functionality.

  • customEvent property renamed to onSelect.
  • showStandalone renamed to dialogCalendar.
  • setDefaults added - accepts a settings object and updates the global

calendar defaults (which are then overridden by instance values).

  • reconfigureFor added - accepts a control (input or div/span) and a

settings object and updates the instance object attached to that control.

  • setDateFor and getDateFor added - accepts a control (input or

div/span) and sets or retrieves the associated date.