date 5.x-2.8

Security update
Bug fixes

Version 5.2.8
===============
- #418174 Timestamp format should not be run through date_limit_format().
- #473308 Add handling for year-only date stored in timestamp field.
- Fix date_limit_format() to be sure the 'T' is stripped out of ISO dates with only date or only time.
- #369020 Switch '+1 Sunday' to 'First Sunday' to over PHP5 bug.
- #315443 Make sure 'within' labels don't break when used in text fields.
- #381370 Remove escaping for colon and double quote per ical spec.

date 6.x-2.3

Security update
Bug fixes
Insecure

Version 6.2.3
=============

- #494350 Add 'c' format.
- #352975 Remove filter:mask in datepicker css and add help in settings on how to add back in theme.
- #352975 Add hook_requirements warning to suggest using jQuery UI for datepicker.
- #529826 Change date tools permission name to add 'administrator' to make it clear it has important powers.
- #529826 Check for invalid content type name in Date Tools.
- #529826 Add check_plain to label.
- #418874 Don't run timestamp format through date_limit_format().
- #456308 Don't reset date_api_fields cache over and over.
- #424006 Add flexibility to date filter options by passing them directly to date_create.
- #465870 Make sure date_repeat_form.inc is included in validation.
- #453688 Use is_a() function so date handler will work for any handler derived from views_handler_field_date.
- #452934 Make sure format_interval() doesn't do anything with empty dates.
- #483682 Make searches case-insensitive.
- #395156 Change table name for date formats from 'date_format' to 'date_formats' because 'date_format' is reserved word in some dbs.
- #342357 Make jQuery timepicker optional.
- #473308 Add handling for year-only date stored in timestamp field.
- Get rid of
in admin summary that was going through check_plain.
- #482436 Removed deprecated code to remove empty field values, CCK does that now.

date 6.x-2.2

Bug fixes
Insecure

Version 6.2.2
=============

- #451858 Fix date_timezone_set() when date is empty while adding new item.
- Fix date_limit_format() to be sure the 'T' is stripped out of ISO dates with only date or only time.
- #432368 Don't force default value in exposed filter if default is empty.
- #369020 Switch '+1 Sunday' to 'First Sunday' to overcome PHP5 bug.
- #444960 Fix Date Tools permissions.
- #315443 Make sure 'within' labels don't break when used in text fields.
- #423710 Make date navigation more accessible with titles.
- #424388 Pass #attributes from element to Date Popup.
- #381370 Remove escaping for colon and double quote per ical spec.
- #426810 Fix HTML syntax in advanced help files.
- #456460 Break out simple themes for date_display_single and date_display_double for easier control by themers of separator and other html.
- #384258 Fix broken handling of 24 hour time in Date Popup.
- #401152 Fix broken handling of long month name in input format.
- #452420 Revert change of hyphen to dash in date display, dash is handled badly by token and elsewhere.
- #347080 Using 'first' and 'last' is more reliable than '+1 week' in strtotime().
- #369020 Fix bug when finding first or last Mon/Tue/Wed/Thu/Fri/Sat/Sun of month.
- #427830 Postgres can't handle \T.
- #414446 Avoid php errors when context is missing.

date 5.x-2.7

Bug fixes
Insecure

- #452420 Revert change of hyphen to dash in date display, dash is handled badly by token and elsewhere.
- #347080 Using 'first' and 'last' is more reliable than '+1 week' in strtotime().
- #369020 Fix bug when finding first or last Mon/Tue/Wed/Thu/Fri/Sat/Sun of month.
- #427830 Postgres can't handle \T.
- #417032 Fix typo that caused date fields using text widget not to have values saved.
- #418206 All date elements should be in datetime format when processing elements.
- #375864 Clean up date_limit_format() to handle more odd formats.

date 5.x-2.6

Bug fixes
Insecure

Version 5.2.6
===============

- #314959 Make sure non-requested date fields are not displayed.
- #317105 Update Isreal DST rules.
- #342423 Add 'date_popup' class to Date popup for jQuery targetting.
- #368305 Date browser week view was cutting off one second too late.
- #380754 Grouped date handler needs 'AND' when it has a $where clause.
- #310438 Clear up confusion when more than one date filter is used in the same view.
- #408770 Abort date_combo processing when user has no #access.
- #388728 Change dash to en dash in date range theme.
- #414290 Update timezone form_alter to account for difference between Event version 1 and 2.
- #400992 Add time and datetime tokens.
- #408176 Fix token handling of empty values.
- #354989 Make sure year-only date does not regress to YYYY-00-00 00:00:00, which will end up as previous year.
- #398258 Fix problems handling blank text widget values and general form processing cleanup.
- #397420 Fix miscalculation errors in date_difference.
- #375864 Make sure date_limit_format() doesn't keep formats that are only escaped strings.
- Improve interpretation of argument date ranges.
- Improve handling of translation for Date repeat rules.
- #375551 The 'All day' formatting should not be applied to format_interval formats.
- Date PHP4: fix inconsistency in offset computation for first two hours of the day dst changes.

date 6.x-2.1

Bug fixes
Insecure

Version 6.2.1
=============
- #411496 Select widget in Views was not getting forced to the right value when using 'now+' defaults.
- #395156 Hide errors during multiple passes of date_format creation.
- #395156 Update new format table definitions to be sure indexes are not too long for MYSQL to create the tables.
- #365771 Make sure date filter doesn't try to use Date popup widget if that module is disabled.
= #406876 Adapt Views block argument handling to adapt to arguments like user/%/calendar/2009-05.
- #385880 Add non-node date handling for Views arguments and filters.
- #400992 Add time and datetime tokens.
- #408176 Fix token handling of empty values.
- #399180 Test for Views tables before uninstalling them.
- #369811 Fix problems with duplicate date formats in new format system.
- #354989 Make sure year-only date does not regress to YYYY-00-00 00:00:00, which will end up as previous year.
- #398258 Fix problems handling blank text widget values and general form processing cleanup.
- #405408 Update simpletests.
- #397420 Fix miscalculation errors in date_difference.
- #360967 Add method for deleting a custom default calendar.
- #376224 Add 'From date' and 'To date' to Views titles.
- #375864 Make sure date_limit_format() doesn't keep formats that are only escaped strings.

date 6.x-2.0

New features
Bug fixes
Insecure

- #376880 Move back/next symbols back into link.
- Exposed filter was not testing empty values correctly.
- Add Advanced help for new formatter settings.
- Add formatter settings for node and view to control which multiple value to display when.
- Improve interpretation of argument date ranges.
- Improve handling of translation for Date repeat rules.
- #347645 Mark 'To date' required if it is.
- #345215, #309921 Rework the way multiple 'From date' and 'To date' fields are identified in validation errors.
- #375551 The 'All day' formatting should not be applied to format_interval formats.
- Date PHP4: fix inconsistency in offset computation for first two hours of the day dst changes.
- Date PHP4: eliminate some needless cycles to improve performance.
- Add test files to import RRULEs in .ics, all day dates in .ics, and date info in .csv formats used by Yahoo Calendar and Outlook.
- iCal TRIGGER can either be a date or a duration.
- Fix to iCal: alter the end date of all day events to match the to date.
The ical practice of setting the End date as the next day won't work for our interal use of this value.
- Fix to iCal: leave 'all day' notice in the individual date components as well
as the top level so it is available in each portion of the VEVENT array, needed for FeedAPI parsing.
- Fix broken date link in calendar created by Date Tools.

date 5.x-2.5

Bug fixes
Insecure

Version 5.2.5
===============

- Fix background colors in Date Popup.
- #273730 Don't use REGEX_LOOSE on YEAR, MONTH, or DAY filters.
- #314675 Don't try to strip labels out of select lists if the value is not an array.
- Make sure empty time in Date Popup filter will still work.
- Fix use of D6 table name in install file.
- Add ability to analyze a period to period argument, like P1M--P1Y.
- Add date_increment_round() to date_content_generate to make sure generated dates match increment settings.
- #301279 Remove README.txt for Date Popup, it's out of date and I'm moving documentation into the d.o handbook and Advanced Help.
- #337075 Change background-color:none to background-color:transparent.
- #324756 Bypass validation for empty, non-required dates.
- Fix broken Date API test broken by change in API.
- #340394 Fix four-digit year format for PostgreSQL.
- Fix bug in new date_field_get_sql_handler() helper function to pick up the right timezones for the handler.
- Date picker can't handle some year ranges that work in Date API, so adjust it as needed.
- #338237 Replace 'local_offset_field' with 'offset_field' in date handler.
- Make sure node edit form uses the right timezone for the database and field type.
- Fix logic error in date_convert when using timestamp with timezone other than UTC.

date 6.x-2.0-rc6

Bug fixes
Insecure

- #341202, #339457, #337952, #329128, #337787, #341203, Fix repeating and multiple date displays.
- #273093 Add time formatter option to use in calendar views.
- #324063 Unset invalid values in the date argument position of the url to avoid various errors in the date argument handling.
- #301279 Remove README.txt for Date Popup, it's out of date and I'm moving documentation into the d.o handbook and Advanced Help.
- #337075 Change background-color:none to background-color:transparent.
- #324756 Bypass validation for empty, non-required dates.
- Fix broken Date API test broken by change in API.
- #340394 Fix four-digit year format for PostgreSQL.
- Fix bug in new date_field_get_sql_handler() helper function to pick up the right timezones for the handler.
- #338277 Make some improvements to datepicker css.
- #326722 Update the datepicker js to the latest version to fix bugs in current version.
- Date picker can't handle some year ranges that work in Date API, so adjust it as needed.
- #324150 Fix broken 'not between' date filter handling.
- #337784 Fix broken date filter to work correctly with the new year range values.
- #338237 Replace 'local_offset_field' with 'offset_field' in date handler.
- #338237 Fix broken date browser which never got updated to move date field info to $view->date_info.

date 5.x-2.4

Bug fixes
Insecure

Version 5.2.4
===============

- #309155 Get rid of all translation during date_repeat calculations, it was causing timeouts with locale module.
- #336109 Add handling for ordinals to custom date formatting.
- #265076, #324794 Revert attempt to use strtotime to 'guess' text input since it too often ends up silently turning into 'now'.
- #303951 Relax requirements for text date input to allow single digit months and days.
- #309617 Make DATE_REGEX_LOOSE a bit looser so the @ argument will work right for single digit months and days.
- #313933 Don't query for date_browser views when there are no arguments.
- #314012 Move date_views_filter_value() to date_api.module so it's available if Date module is disabled.
- Adapt processing to make sure only selected dates display in nodes, views, and calendars.
- Add Views field handler for date that can be smarter about grouping date values in views.
- Do a little more work on clarifying the repeat descriptions.
- Fix PHP4 timezone problem that didn't save timezone changes correctly in rare cases when refreshing zones using devel.
- Add 'UNTIL' to the RRULE creation function so it can be used by the API and date_content_generate.
- Update date_content_generate to find more matches in a more limited period.
- #322845 Make sure delta is passed to date theme so repeating dates display correctly in Views.

date 6.x-2.0-rc5

Bug fixes
Insecure

Version 6.2-rc5
=================

- #309155 Get rid of all translation during date_repeat calculations, it was causing timeouts with locale module.
- Rename values added to views to avoid name clashes and keep all date values together.
- #336109 Add handling for ordinals to custom date formatting.
- #265076, #324794 Revert attempt to use strtotime to 'guess' text input since it too often ends up silently turning into 'now'.
- #303951 Relax requirements for text date input to allow single digit months and days.
- #309617 Make DATE_REGEX_LOOSE a bit looser so the @ argument will work right for single digit months and days.
- #333831 Make sure Date Repeat widgets are not made available if the Date Repeat module is disabled, and add hooks to mark repeating widgets active and inactive when the module is enabled and disabled.
- #332806 Make sure that Date Popup widgets are marked active when the module is enabled.
- Adapt processing to make sure only selected dates display in nodes, views, and calendars.
- Add Views field handler for date that can be smarter about grouping date values in views.
- Do a little more work on clarifying the repeat descriptions.
- Fix PHP4 timezone problem that didn't save timezone changes correctly in rare cases when refreshing zones using devel.

date 6.x-2.0-rc4

Bug fixes
Insecure

Version 6.2-rc4
=================

- Date argument handler: Add date field in pre_query() instead of query() so it works if the argument is set to the wildcard.
- Don't try to trim date objects in the date ical preprocessor.
- Make a few more fixes to CCK updates in date.install.
- Start on Advanced help for the Date module.
- #317660 Hard code line feeds in ical export to be sure they come through correctly in all systems.
- Don't try to find repeating fields on types without fields.
- #317021 Coder module patch by stella.
- #312996 Break out of endless loop in date_repeat calculation.
- #294851 Date PHP4: Make timezone_identifiers and timezone_abbreviations into statics variable to reduce execution time.
- #294851 Date PHP4: Make timezone_map into a static variable to reduce execution time.
- #314959 Keep repeating dates off the teaser as well as the node.
- #312598 Date PHP4 functions can be off by 1 hour during the day dst changes, add a fix for that.
- Date PHP4: Add new settings area where you can choose whether to use the faster native timezone adjustments for current dates.
- #316392 Hard code the date_api_views_clear() code to prevent update errors.
- #315955 Translation cleanup.
- Add new repeat selection widgets to widgets that can set increments and date parts.

date 6.x-2.0-rc3

Bug fixes
Insecure

Version 6.2-rc3
=================

- #305376, #303999 Change method of clearing theme registry to avoid errors other themes during update.php.
- #308353 Use long-month-name protocol for translations.
- Eliminate query for navigation display.
- #306404 Make sure update 6001 returns an array.
- Default Date Browser view should not have a content type filter in it.
- Add some validation to date repeat logic to avoid trying to process invalid values.
- #303999 Add function and update to clear out theme registry and all the views caches to pick up changes in Views definitions.
- #304631 Fix validation check for required field that was always triggered.
- #304762 Add missing folders for translations.
- #198502 Make sure updates abort if Content module hasn't yet been updated.
- Update to new Views2 API. Now requires latest versions of Views and CCK, and files have been re-arranged.
- Move timezone handling logic to Date API so we can use it in Calendar, too.
- Rework the date_id formatting to use the new #delta value being passed from CCK.
- #196468 Add link to add a date field to a content type in Date Copy, uses new CCK feature to import from file.
- The timezone translation names in the install file must use underscores instead of spaces.
- #302351 Add timezone info to node_load() and adjust tokens to set the right timezone.

date 5.x-2.3

Bug fixes
Insecure

Version 5.2.3
===============
- #307406 Remove debug cruft from Date Popup.
- #306819, #307406 Month translated was using wrong variable name.

date 5.x-2.2

Bug fixes
Insecure

Version 5.2.2
===============
- Fix critical error in date_t() that was returning nothing for translated names.
- Add some validation to date repeat logic to avoid trying to process invalid values.
- #304631 Fix validation check for required field that was always triggered.
- #304762 Add missing folders for translations.

date 5.x-2.1-2

Bug fixes
Insecure

Version 5.2.2
===============
- Fix critial error in date_t() that was returning nothing for translated names.
- Add some validation to date repeat logic to avoid trying to process invalid values.
- #304631 Fix validation check for required field that was always triggered.
- #304762 Add missing folders for translations.

date 5.x-2.1

New features
Bug fixes
Insecure

Version 5.2.1
===============
- Move timezone handling logic to Date API so we can use it in Calendar, too.
- Rework the date_id formatting to use the new #delta value being passed from CCK.
- #196468 Add link to add a date field to a content type in Date Copy, uses new CCK feature to import from file.
- The timezone translation names in the install file must use underscores instead of spaces.
- #295753 When using a date form in an exposed filter, make sure 'now' is only applied if the filter is not submitted.
- #295753 When using a date form in an exposed filter, get the exposed filter delta, not the filter delta.
- #297021 Fix summary link title for date argument views.
- #302351 Add timezone info to node_load() and adjust tokens to set the right timezone.
- Replace all include_once() with require_once().
- #276270 Add missing break in date_convert() switch for ICAL.
- #301385 Change hook_requirements() to only set message in runtime to avoid install profile errors.
- #299112 Adjust date_convert() to adapt to am/pm when data source is an array.
- #299112 Don't change 12 hour time to 24 hour time until after validation.
- Make sure date_week() trims input value so you can use it with a regular datetime value.
- Change error messages for ical imports to watchdog messages.

date 6.x-2.0-beta4

Bug fixes
Insecure

Version 6.2-beta4
=================
- #270318 Get date browser and calendar navigation working correctly when used in a block.
- Add new DATE_FORMAT_DATE for date-only format that is used throughout the calendar.
- Fix validation code that checks if arguments and filters have date fields selected, need to array_filter() the selections.
- #269569 Override Views default method of combining tables when adding two fields from the same table, needed to avoid broken queries.
- Add validation for Date Browser to be sure only one date argument is used in the view.
- Rework the install file so variables can be corrected and dependent modules enabled by disabling and re-enabling Date API.
- #280863 Make sure Date Timezone and Date PHP4 can be uninstalled by keeping module_enable() in the install.
- Rework of date filter to provide a choice of a widget to use for the filter form and an option to set the default value to a set date or something like 'now +90 days'. You must delete any previously-created date filters and re-create them to pick up the new parameters.
- Make sure PHP4 date_modify() does not care if there is a space between the number and the date part.
- Make sure we don't use mktime() in compare_date() function, won't work reliably in PHP4.
- Make sure PHP4 wrapper code doesn't try to use date() on values outside the 32 bit signed range.

date 5.x-2.0-rc4

Bug fixes
Insecure

Version 5.2-rc4
===============

- #286454 Add fix for Views substitutions error handling %%s to work like the fix for %%d.
- #286864 Fix wrong RRULE value being passed to validator and add trim() to get repeating dates working again.
- #286864 Need a different fix for timezone API since this fix broke Date Repeat.
- #283107 Evaluate date and time parts separately since we can't know or care how they're combined in the complete date format.
- #283107 Date Popup timepicker formats need adjustment before using date_convert_from_custom().
- Exception dates were getting lost when parsing the RRULE.
- Increase size of Date Popup input box to accept longer formats that the new datepicker allows.
- #287325 Change the default date type in the date handler to DATE_DATETIME.
- Hide image div in Date Popup timeentry css to keep FF from displaying a 'helpful' dropdown.
- Move date_format_options() to Date API so other code can use it.
- #279247 Make sure date_timezone element works no matter what the parent element name is.
- Fix undefined index in PHP4 date_datetime2timestamp() function.
- #265076 Avoid use of strtotime and use date_create instead as date_text validator.
- #277771 Fix date_gmmktime() computation in PHP4 date handling to avoid erratic daylight savings time problem.
- Fix computation of 'now' in PHP4 date_create() function.

date 5.x-2.0-rc2

New features
Bug fixes
Insecure

Version 5.2-rc2
===============

New Features

- #272551 Add option to expand or collapse repeating date options.
- #261610 Add option for the date theme to display only a single date if $node->date_id is set.
- #187599 Backport content_generate so Devel module can create data for CCK fields when creating nodes.
- #233415 separate ical retrieval and parser so other modules like feedapi can use the parser alone.
- Update date copy to convert either version 1 or version 2 Event nodes.
- Trigger js timezone detection on user edit form and registration form.

Timezone handling

- Fix inconsistencies in handling of 'none' and 'user' timezones in Date and Calendar.
- Add static variable to PHP4 timezone offset handling to reduce number of database queries.
- #270316 Fix postgres timezone adjustment.
- #279051 Fix postgres timezone test.
- Centralize method of setting timezone adjustments for filters and arguments.
- Fix PHP4 handler for date_timezone_set() which was incorrectly altering the timestamp value.
- #269834 Add timezone adjustment to PHP4 date_format() wrapper.
- Rework PHP4 date handling to avoid any use of date() or mktime(), which may inject an incorrect timezone offset.
- Get rid of the adodb method of computing the gmt offset for PHP4 and use the date_offset_get() computation.
- Fix use of wrong value for timezone in repeating dates.

date 6.x-2.0-beta2

Bug fixes
Insecure

Date Module 6.x
=================
TODO
- Get repeating dates working again.
- Views filters are not working right yet.

Version 6.2 beta2
=================
- Fix computation of week range computed from views arguments.
- Now that a current date argument has been added to Views, remove the current date plugin from the Date API views handling.
- #263377 Re-fix patch that I broke in later commit.
- Comment out RRULE temporarily until repeating rules are fixed.
- Omit the timezone from the process to store the current date parts in the form.
- Change expected form values to match latest changes in CCK admin form.
- #261631 No longer using $append, so get rid of it.
- More work to ensure all the right timezone files are available in installations and updates.
- Add theme folders to 6.2 branch.
- #262272 Make sure $account is set before trying to use it in hook_user.
- #263078 Fix error in setting up db session info that was triggering the MYSQL code for POSTGRES.
- Move lots of similar date handling and navigation code out of Date and Calendar and into the Date API where we can use the same code everywhere.
- Add a flexible date argument to the API that will work on any Views date field and take any ISO date argument.
- Add an argument default option to set a missing date argument to the current date that will work on any date field.

date 6.x-2.x-dev

New features

The nightly snapshot for the 6.2 version (supersedes the 6.1 version).

date 6.x-2.0-beta

Bug fixes
Insecure

Moving code to the 6.2 branch to coincide with the 5.2 version of Date and Views 2, and tagging an new alpha release that matches the just issued alpha release for the Calendar module.

date 6.x-1.x-dev

New features

Nightly update for 6.1 branch of the Date module.

date 5.x-2.0-rc

Insecure

NOTE! The new version has several new files and is completely re-organized. Empty the module folder completely before adding the contents of the new version. If you don't do that, Drupal may try to use some of the invalid, older files and things will not work correctly. After updating the files on your system, visit the modules page and look for the new Date/Time section and enable the new modules. Then visit update.php to update your database and make sure your site timezone name is correctly set at admin/settings/date-time.

If you use the Token module, be sure to use the latest version of it, too, currently that is the development version. The older version was using the older Date API.

This version should be matched up with the 5.2 version of the Calendar module.

* The Date API now uses PHP 5.2 date functions for better date and timezone handling (and has PHP 4 emulations for those functions so the module will work in PHP4). Although the code will work with PHP 4, it is significantly faster and more efficient under PHP 5.2 or higher, so PHP 5.2 is highly recommended.
* No more need for the adodb date library, historical dates earlier than 1970 and later than 2038 are handled without any external code.
* iCal integration is greatly improved, an iCal parser can parse events, alarms, most types of dates and timezones, duration, repeat rules, and more.

date 5.x-2.x-dev

New features

This is a completely new version of the Date API, with lots of improvements and new features:

* The Date API now uses PHP 5.2 date functions for better date and timezone handling (and has PHP 4 emulations for those functions so the module will work in PHP4).
* iCal integration is greatly improved, an iCal parser can parse events, alarms, most types of dates and timezones, duration, repeat rules, and more.
* The Date API creates date elements that can be used by any module, including 'date_select', 'date_textfield', and 'date_timezone'.
* A new Date Timezone module overloads the site and user timezone selectors to allow you to select a timezone name instead of a timezone offset, and that stored name is used to properly adjust date values. It also detects the user's timezone name automatically and updates the user record with that name.
* A new Date Popup module creates a jQuery popup calendar date picker and time picker, and the element is available to other modules as a form type of 'date_popup'.
* The Date module now has lots of new ways to define default values -- you can set a the default to 'blank', 'now', or 'relative', where relative is something like '+90 days'. The To date has a separate default value, which can be the same as the From date or do something different.

date 5.x-1.8

Bug fixes

Version 1.8
===========

- 189093 fix elusive bug that caused some CCK Views arguments to disappear in certain configurations.
- Fix call by reference errors.
- 197563 fix re-named function in date_views.
- 189093 rework way includes are handled to try to ensure the right functions are available at the right time.
- 192349 support both 'n' and 'm' formats for month input formats.
- 188340 add field info to date_views_date_range.
- 189591 add more checks for whether Views is enabled before calling Views functions.

date 5.x-1.7

Bug fixes

Version 1.7
===========

- Move cached views info to cache_views so it gets cleared when views_invalidate_cache() is called.
- Lots of fixes for the update processes. Get rid of older updates that are re-done in later updates and create a data_integrity and db_integrity update.
- Fix ical export to match changes in ical parser.
- Cleanup of ical export code.
- Expand date-only ISO date to full ISO date automatically. Needed for better handling of ical feeds.
- Fix DURATION handling in ical parser.
- Cleanup calendar ical import.
- 170371 make sure date api is available during updates.
- 163712 fix some subtle problems in link titles and query parameters when working with partial ISO dates, like only year and month.
- 175914 make sure month and day don't get set to zero when creating timestamps to format dates, since zero values will revert to the previous day.
- 183845 make sure lable and description are translated
- 160052 make sure no errors are thrown when gmmktime is called and 'all' is one of the arguments.
- Expand the description for date_copy import of event nodes.
- Make sure option to not delete old nodes in date copy is working right.
- Improved ical parser to extract ical data and import it into date fields.
- Found a better way to unfold ical data. The previous method would break if there were any QUOTED-PRINTABLE values in the ical file.

date 4.7.x-1.7

Bug fixes

- 56397 remove extraneous ';'.
- Get rid of hook_init(), add helper function date_load(), move date.inc constants to date_api.module.
- 153245 fix typo in Date API documentation.
- 151304 include date.inc in theme so it works outside the module.
- 152207 make timezones.inc independent of the event module, needed because not all versions of event module now use it.
- Fix a typo in the new date_unset_granularity() function.
- fix some invalid functions and missing includes for ical date imports in Date Copy.

date 5.x-1.6

New features
Bug fixes

- 56397 remove extraneous ';'.
- Get rid of hook_init(), add helper function date_load(), move date.inc constants to date_api.module.
- 153245 fix typo in Date API documentation.
- 151304 include date.inc in theme so it works outside the module.
- 152207 make timezones.inc independent of the event module, needed because not all versions of event module now use it.
- Fix a typo in the new date_unset_granularity() function.
- fix some invalid functions and missing includes for ical date imports in Date Copy.

date 5.x-1.5

- 130689 move drupal_get_installed_schema_version inside install() and update() functions
- 137515 fix logic for figuring out when timezone conversion is needed
- 137624 make sure years back and forward store values when set to 0
- 128355 make sure empty to date values are filled in with from date values
- Move css to hook_menu()
- 130611 make sure no html is returned in default theme when dates are empty
- 134587 fix method of stipping undesired granularity out of dates which was generating critical errors

date 4.7.x-1.6

- 130689 move drupal_get_installed_schema_version inside install() and update() functions
- 137515 fix logic for figuring out when timezone conversion is needed
- 137624 make sure years back and forward store values when set to 0
- 128355 make sure empty to date values are filled in with from date values
- Move css to hook_menu()
- 130611 make sure no html is returned in default theme when dates are empty
- 134587 fix method of stipping undesired granularity out of dates which was generating critical errors

date 5.x-1.4

Version 1.4
===========

NOTE Date API has been split out into a separate module to make the API available with no dependency on CCK. For best update results, uninstall the Date module before adding the updated file to the site, then immediately go to the modules page and enable both the Date and Date API modules.

- 126551 themeing improvements: 1) A 'timestamp' formatter which will return the timestamp value of a date. You can use that instead of a
formatter that returns a formatted value if you want to do your own formatting of the results. 2) A 'Days ago' formatter that applies
format_interval() to the date. It uses a theme_date_format_interval() to allow you to tailor the results depending on whether it is a future
or past date and incorporate both the To date and From date into the results. 3) All formatters now run through a theme to give you more
places to jump in and make changes to the display. The theme has the complete date object to work with. 4) A date_field_object() function
that will bring back a complete date object for a given field. The function description contains details about what exactly is in that
object, but it includes both from and to dates as timestamps, ISO dates and arrays of date parts.

- 123886 make sure cached data isn't empty
- 125803 get help text to display in selector widget

date 4.7.x-1.5

Version 1.5
===========

NOTE Date API has been split out into a separate module to make the API available with no dependency on CCK. For best update results, uninstall the Date module before adding the updated file to the site, then immediately go to the modules page and enable both the Date and Date API modules.

- 126551 themeing improvements: 1) A 'timestamp' formatter which will return the timestamp value of a date. You can use that instead of a
formatter that returns a formatted value if you want to do your own formatting of the results. 2) A 'Days ago' formatter that applies
format_interval() to the date. It uses a theme_date_format_interval() to allow you to tailor the results depending on whether it is a future
or past date and incorporate both the To date and From date into the results. 3) All formatters now run through a theme to give you more
places to jump in and make changes to the display. The theme has the complete date object to work with. 4) A date_field_object() function
that will bring back a complete date object for a given field. The function description contains details about what exactly is in that
object, but it includes both from and to dates as timestamps, ISO dates and arrays of date parts.

- 123886 make sure cached data isn't empty
- 125803 get help text to display in selector widget

date 4.7.x-1.3

Version 1.3
===========

- 121259 split date api out so it can be used by other modules with no dependency on CCK
- 113489 add filters and arguments for 'to' dates as well as 'from' dates.
- Get rid of embedded help text and point to d.o handbook page instead to make it easier to keep it current.
- Add handling for date-specific timezone offset
- 120154 refactor date sql wrapper to take into account server timezone adjustments for functions like NOW() and TIMESTAMP()
- More timezone cleanup, make sure zone is not removed twice when using adodb
- More fixes for validation combinations of from/to dates; Clean up handling of timezone element - give it a weight, only need one form

element no matter how many date fields; Clean up handling of non-required to date and other empty or error values, make sure they don't get

stored in date object or displayed;
- 119674 minutes and seconds need integer values
- 114088 use private adodb get_date function to eliminate timezone adjustment
- 119820 fix error in date_is_required function
- 120154 make sure FROM_UNIXTIME and NOW are not adjusted for server timezone
- 93525 fix translation of displayed month and day names
- 116244 fix incorrect placement of timezone in form
- Adding better validation to set errors for invalid dates, adding helper function to determine when from and to dates are required

date 5.x-1.3

Version 1.3
===========

- 121259 split date api out so it can be used by other modules with no dependency on CCK
- 113489 add filters and arguments for 'to' dates as well as 'from' dates.
- Get rid of embedded help text and point to d.o handbook page instead to make it easier to keep it current.
- Add handling for date-specific timezone offset
- 120154 refactor date sql wrapper to take into account server timezone adjustments for functions like NOW() and TIMESTAMP()
- More timezone cleanup, make sure zone is not removed twice when using adodb
- More fixes for validation combinations of from/to dates; Clean up handling of timezone element - give it a weight, only need one form

element no matter how many date fields; Clean up handling of non-required to date and other empty or error values, make sure they don't get

stored in date object or displayed;
- 119674 minutes and seconds need integer values
- 114088 use private adodb get_date function to eliminate timezone adjustment
- 119820 fix error in date_is_required function
- 120154 make sure FROM_UNIXTIME and NOW are not adjusted for server timezone
- 93525 fix translation of displayed month and day names
- 116244 fix incorrect placement of timezone in form
- Adding better validation to set errors for invalid dates, adding helper function to determine when from and to dates are required

date 4.7.x-1.2

Version 1.2
===========

#89097 reverse sign on option delta, fix view tablename aliases
#114265 handle empty 'to' date values by filling with 'from' date
Fix block view of date browser, use new CCK views table alias.
#80592 alter default value handling to match changes in CCK, display blank value
as default for to date if not required, make sure blank value is stored as NULL

date 5.x-1.2

Version 1.2
===========

#89097 reverse sign on option delta, fix view tablename aliases
#114265 handle empty 'to' date values by filling with 'from' date
Fix block view of date browser, use new CCK views table alias.
#80592 alter default value handling to match changes in CCK, display blank value
as default for to date if not required, make sure blank value is stored as NULL

Pages

Subscribe with RSS Subscribe to Releases for Date