date 7.x-2.14

Bug fixes

This release resolves compatibility with PHP 8.2 and fixes some other minor issues. Updating is recommended for all sites.

As always, thanks to everyone who collaborated on this release.

date 7.x-3.0-alpha2

Bug fixes

This release brings the v3 branch up to date with the v2 branch, so there are lots of PHP 8 fixes. It does include a few additional changes.

date 7.x-2.13

Bug fixes

This is primarily a minor bugfix release that adds PHP 8.1 support, amongst a few other items.

date 7.x-2.12

Bug fixes

This does not contain any additional changes since 7.x-2.12-rc1, please review it for full details.

All sites are encouraged to update.

As always, please fully test on a non-production copy of each site and report any problems encountered in the Date module's issue queue.

date 7.x-3.0-alpha1

New features

This is the first step towards fixing the "all day" functionality in the Drupal 7 version of the Date module.

A lot of testing and further fixes will be required before this can be given a full release. Please help with identifying problems with the new architecture and the update scripts, and test coverage.

Changelog

Issues: 1 issue resolved.

Changes in this branch:

date 7.x-2.12-rc1

Bug fixes

This resolves a number of bugs in the 7.x-2.11 release. Additional testing is required before we tag 7.x-2.12. Please help testing this release on a non-production copy of your site(s) and let us know in the issue queue if you run into any problems.

date 7.x-2.11

Bug fixes
New features

Warning: Do not install this update if the site has the "Date All Day" submodule installed, please wait until 7.x-2.12 is released.

date 7.x-2.11-beta3

Bug fixes

This fixes a number of bugs in the 7.x-2.x branch. There are still a few issues to resolve before the full 7.x-2.11 release, assistance with them would be greatly appreciated. If further issues are discovered, please open a new bug report so we can collaborate on fixing them. Thank you.

Updating to this release is not recommended yet, but help testing it would be appreciated.

date 7.x-2.11-beta2

Bug fixes

This release continues our efforts towards stabilizing the Date module for Drupal 7. While not completely ready for production usage, we would appreciate folks helping to test it to identify any outstanding problems so that we can soon release a rock solid 2.11.

Thanks again to everyone who contributed with this release.

date 7.x-3.x-dev

This release is created specifically for a major overhaul of the project's time zone handling.

Nightly snapshot.

date 7.x-2.11-beta1

Bug fixes

This release includes a large number of bug fixes since 2.10, please help test it so that we can get a stable 2.11 out soon.

Contributors (104)

A huge thank you to all of our contributors!

date 7.x-2.9

Bug fixes
New features

2.9 stable release

Changes since 2.8

date 7.x-2.6

Bug fixes
Insecure

======================
Version 7.x-2.6
======================

- Issue #1423364 by catmat, Add file and path to hook_context_plugins().
- Issue #1713248, Remove incorrect use of date_popup() function in previous commit.
- Issue #1143680 by kristiaanvandeneynde, Make Date Popup widget able to accept custom settings.
- Issue #1596546 by applicity_sam, Make sure incorrect month name creates validation error.
- Issue #1432702, Fix some miscellaneous problems with date example dates and formats.
- Issue #1512464 by Liam Moreland, Allow for undefined formatter in Date upgrade handling.
- Issue #1659638 by bojanz, Hide install message if Drupal is not installed (i.e. in install profiles).
- Issue #1605158 by covenantd, Be sure value2 is initiated in Date Context handler.
- Issue #1355256 by barraponto develCuy and KarenS, set default value for date text widget increment to 1, and update existing fields.
- Issue #1561306 by Cyberwolf, Date pager replacement was not working correctly when used with multiple dates.
- Issue #1541740 by hass, Make Date requirements more easily translatable.
- Issue #1543524 by iamEAP, Add update hook to remove the D6 date_timezone field from users.
- Issue #1603640 by bevan, Don't return anything for empty date interval.

date 6.x-2.9

Bug fixes

Version 6.2.8
=============

- Issue #1005968 by jcmarco, dnotes: Added Ajax for date navigation attachment views.
- Issue #1545254, Use remember in filter only if a value exists.
- Add a test for force_value to the code that checks the default value for the exposed filter. In some cases the relative value wasn't overriding a fixed value as it should have been doing.
- Issue #1223956 by mikeytown2 and hyrcan, Fix undefined index in date_handler_fields().
- Issue #1517548 by joachim, Fix incorrect documentation for date_default_timezone_name().
- Issue #884310 by AlexisWilke, Postgres earlier than 8.3 needs different syntax in date update.
- Issue #606658 by johnmunro and KarenS, Make sure ical import processes multi-day all-day events correctly.
- Issue #1282538 by benjifisher, crifi, and KarenS, Make sure ical feed for all day events adds 1 day to the end date to comply with the spec.
- Issue #1463438 by hyrcan, Fix some 5.3 notices.
- Issue #1513396 by JoeMcGuire, Fix failing Date Popup test.
- Clean up to eliminate PHP notices when running tests on PHP 5.3.
- Issue #1408216 follow up, Need to be sure that NULL is the default state for the sql functions.
- Issue #337666, Make sure the UNTIL date for repeating dates is inclusive.
- Backport the D7 version of date_ical.ical.inc to D6 so we can keep D6 and D7 synched up more easily.

date 7.x-2.5

Bug fixes
Insecure

======================
Version 7.x-2.5
======================

- Fix nasty errors on views that have no row indexes, like the frontage view.

======================
Version 7.x-2.4
======================

- Issue #1534342 by bass, Make name of clean pager option easier to translate.
- Add a hook to alter the default date for a Date argument.
- Issue #1531904, Make sure that multiple value dates that have the delta set only display the selected value.
- Revert Issue #1266688 by fago, This change broke Entity token support.

date 7.x-2.4

Bug fixes
Insecure

======================
Version 7.x-2.4
======================

- Issue #1534342 by bass, Make name of clean pager option easier to translate.
- Add a hook to alter the default date for a Date argument.
- Issue #1531904, Make sure that multiple value dates that have the delta set only display the selected value.
- Revert Issue #1266688 by fago, This change broke Entity token support.

date 7.x-2.3

Bug fixes
Insecure

======================
Version 7.x-2.3
======================

- Issue #1444804, Remove html placeholder on text widget.
- Issue #1286230, Clean up date pager documentation, it contains deprecated information.
- Issue #1469020, Make sure page not found is working right for dates outside the specified range.
- Issue #1111626, Fix some problems caused by passing in a date string with an offset.
- Issue #1477860, Avoid undefined index errors in date_views_select_validate().
- Issue #1469038, Add some clarity to the BYDAY description options and make sure a valid value is selected.
- Issue #1405364 by snufkin, Add display options to format_interval to match Views interval options.
- Issue #1266688 by linclark, Add microdata support to Date metadata.
- Issue #1509434 by casey, Add timezone info in hook_field_presave() instead of hook_field_insert() and hook_field_update().
- Issue #1509012, Fix fatal error when viewing repeat tab.
- Issue #1037174 by dealancer, More work to allow ajax to work on other widgets.
- Issue #1473592 by zabelc, Make sure migrated date with missing end date still gets imported correctly.
- Issue #1442718 by jastraat and bones, Make sure show end date checkbox does not display when end date is empty.
- Issue #1504556, Fix invalid access permission name in Date API configuration menu.

date 7.x-2.2

Bug fixes
Insecure

NOTES:
The iCal templates were removed and moved to the new Date iCal module (http://drupal.org/project/date_ical).

date 7.x-2.1

Bug fixes
Insecure

======================
Version 7.x-2.1
======================

- Issue #1437242 by zerbash, Remove extraneous leading slashes in module_load_include().
- Issue #1436722 by hefox: Fixed Undefined variable $form_set_error() used as function.
- Issue #1250626 by Gábor Hojtsy, B-Prod, hefox: Added start date and end date labels.
- Issue #1253482, Make sure $argument->is_default gets reset by the Date pager when altering results.
- Adjust Date Tools to work with changes to use Views templates to create calendars.
- Issue #1398584 by dhalbert and , Make sure groupby times is initialized.
- Issue #1394248, Make sure all date parts are selected when using an exposed select filter.
- Issue #1425774 by sgabe, Fix error in exposed filter, array_filter() -- first argument should be an array in date_select_input_date().
- Issue #1432992 by bart.hanssens, Fix typo in php documentation.
- Issue #323852 by tim.plunkett and arlinsandbulte, Dropdowns shouldn't include a blank option when required.
- Issue #323852, Validation was broken for unlimited value select widgets with required dates, they were incorrectly getting their end dates cleared out.
- Issue #1424656 by tim.plunkett, Unify signature and alters of #process callbacks.
- Issue #1408014 by dasjo, We no longer need the $error_element value to display errors properly, second follow-up.

date 7.x-2.0-rc2

New features
Bug fixes
Insecure

======================
Version 7.x-2.0-rc2
======================

New Features/Major Changes

- Issue #1358790 by tim.plunkett and redndahead, Store date objects in field_load to speed up processing, with a field setting option to control it.

Bugfixes

- Issue #1423598, Found a way to flag items that are new so we know when to add default values.
- Made some fixes to find and test the right entities when checking whether to use default values. More work is needed.
- Issue #1422600, Make sure end date cannot cause validation errors when show end date checkbox is not checked.
- Issue #1417872, Remove code to compute missing date parts from empty values now that the new validation prevents that from working.
- Issue #1417872, Make sure empty year field is validated in the same way other date parts are validated.
- Alter date field test to test with a complete end date instead of using empty elements.
- Fix broken logic in repeat additions.
- Fix test broken by date repeat clean up.
- Issue #1419106 by hanoii: Added more info to hook_date_text_process_alter().
- Issue #1209026, When date validation fails, Date Popup value is getting cleared.
- Issue #1017216 by tim.plunkett, arlinsandbulte: Added custom date format without time shows 'all day'.
- Issue #1408014 by dasjo, We no longer need the $error_element value to display errors properly.

date 6.x-2.8

Security update
Bug fixes

Version 6.2.8
=============
Fixes SA-CONTRIB-2012-004

- Make sure the value passed to set the starting nid for converting events is an integer.
- Explicitly turn 'date_popup_timepicker' to 'none' in tests to avoid Date Popup test failures.
- Issue #1300274, Backport all the fixes for date_repeat_build_dates() from D7 so additions will work right in PHP 5.3.
- Issue #1130814, Backport all the fixes for Date Repeat Calc from D7 so PHP 5.3 will work right and tests will pass.
- Issue #1391374 & #1302052 by benjifisher, CRLF line endings cause problems with git apply
- Issue #1101284 by pfournier, Expand regex for Month names to catch more possible variations.
- Issue #1086100 by ayalon, Group Multiple Value functionality is broken
- Issue #752550 by Fonant, Week number gets printed twice
- Issue #1038482 by somanyfish, iCal import failing due to colon instead of semi-colon
- Issue #1052586 by jpsolero, Problem with Date API when using Calendar with argument set to "Week" granularity and "current date" default argument
- Issue #307274 by ksenzee and arlinsandbulte: Limit the selectable date range using absolute values instead of only the relative Years back and forward:
- Issue #742146, Add option to remove X-WR-CALNAME if VEVENT is not a feed.
- Add option to change method from PUBLISH to REQUEST in VCALENDAR.

date 7.x-2.0-rc1

New features
Bug fixes
Insecure

======================
Version 7.x-2.0-rc1
======================

Notes:
The Date Browser has been removed. Please use the Date Pager instead. If you have existing views using the Date
Browser the navigation will just disappear from them. If you add a Date Pager to the view you should get it back.
Then delete the Date Browser attachment from the view, since it doesn't do anything any more.

The UNTIL date was not getting included in repeating results and that is now fixed. This is an API change of sorts
for anyone who worked around the issue by setting it ahead.

The All Day checkbox and All Day themes were moved into a separate module, using new hooks added to the date
processing. This module should serve as an example of how other modules can inject functionality into date fields.

A new module has been added for integrating the Date Repeat API into date fields. Some of this code has been
moved into the new module, more of it will be moved later as I figure out how to unwind it from the base
processing. An update hook has been added to enable this module by default for existing sites. If you don't
use Repeating dates you can disable it.

There is a new file, api.date.php, that describes the new hooks that make it easier for other modules to intervene in Date processing.

New Features/Major Changes

date 7.x-2.0-alpha5

New features
Bug fixes
Insecure

Notes:
The date repeat widgets have been removed to keep users from trying to change repeating dates into non-repeating dates.
There are now just three widgets, Date Select, Date Text, and Date Popup. Whether or not a date is a repeating date
is now controlled by a field setting.

New Features/UX Changes/API Changes

- Issue #1304056 by DamienMcKenna, Add option to date_difference to indicate direction of difference.
- Issue #1238660, Add custom format option for the date format used in summary arguments.
- Issue #1038482 by somanyfish, iCal import failing due to colon instead of semi-colon
- Issue #1252952 by eosrei: Make "all day" checkbox configurable on a per field instance basis.
- Issue #1266144 by arlinsandbulte: Clarify Default End Date Setting
- Issue #1261478 by stevector and KarenS, Reconfigure the back/next buttons into item lists so Views ajax pager works right.
- Issue #1262960, Add a new module to work with the Context module to set a condition based on the value of a date field.
- Issue #1216878, Re-introduce 'repeat' as a field setting rather than a widget type so people can't try to switch back and forth between repeating and non-repeating dates. Eliminate repeat widgets.

Bugfixes

date 7.x-2.0-alpha4

New features
Bug fixes
Insecure

======================
Version 7.x-2.0-alpha4
======================

Notes to themers:

Previous versions put dates with both From and To dates into a fieldset and other dates were not.
The new code adds additional floating elements that are hard to contain, so now all dates are
enclosed in fieldsets in the node form. There are also new elements on the form, an optional
checkbox for hiding/showing the To date and an optional checkbox for hiding/showing time.
Previously dates on the node form had 'From date' and 'To date' labels above them, this
has been changed to remove those labels, using the Google calendar date entry screen
as a model. This simplifies the node form and dates take up less space. A light grey border
has been added around each collection of dates (the From date and the To date). The display
of labels above the date parts (year, month, day, date, time, etc) is controlled in the
field settings. Previous versions did not always honor those settings, this one does.

New Features/UX Improvements

- Issue #1249724 by KarenS, Gábor Hojtsy, David_Rothstein, Improve usability of date and time input configuration.
- Issue #1250784 by David_Rothstein, Add user-friendly labels for start and end date values in Views.
- Issue #742146, Add option to remove X-WR-CALNAME if VEVENT is not a feed.

date 7.x-2.0-alpha3

Bug fixes
Insecure

Version 7.x-2.0-alpha3
======================

- Issue #1138700, missed a couple references to the construct() function.

======================
Version 7.x-2.0-alpha2
======================

- Follow up to Issue #1103290, constructor was not set up correctly and did not get triggered, so none of the date handlers had a db_type.
- Issue #1138622, preliminary pass at adding support for SQL Server.
- Issue #1136618 by ksenzee, Fix broken hide/show capability for date filter values.
- Issue #1059078 Add preliminary support for SQLite dates.
- Issue #1103290 by kevintheday, Use db_driver() to determine database engine.
- The 'now' values got broken again somewhere along the line. Now we need to switch the ISO format used by our SQL queries back to the datetime format the widgets use.
- Looks like Views changed ['expose']['operator'] to ['expose']['operator_id'].
- Issue #1115770, Make sure filters values are switched back to ISO format so time comparisons work correctly.
- Issue #1132916 by znerol, Fix a couple more usages of date_default_timezone_name().
- Issue #1131308 Don't try to do timzone conversion when there is no localzone for a field.
- Issue #1093222 Fix broken function to remove calendar views.
- Issue #820670 Add update to move D6 date format data to D7 data.
- Issue 1074344 Fix problem with date select widget that keeps resetting pm back to am.

date 7.x-2.0-alpha2

Bug fixes
Insecure

======================
Version 7.x-2.0-alpha2
======================

- Follow up to Issue #1103290, constructor was not set up correctly and did not get triggered, so none of the date handlers had a db_type.
- Issue #1138622, preliminary pass at adding support for SQL Server.
- Issue #1136618 by ksenzee, Fix broken hide/show capability for date filter values.
- Issue #1059078 Add preliminary support for SQLite dates.
- Issue #1103290 by kevintheday, Use db_driver() to determine database engine.
- The 'now' values got broken again somewhere along the line. Now we need to switch the ISO format used by our SQL queries back to the datetime format the widgets use.
- Looks like Views changed ['expose']['operator'] to ['expose']['operator_id'].
- Issue #1115770, Make sure filters values are switched back to ISO format so time comparisons work correctly.
- Issue #1132916 by znerol, Fix a couple more usages of date_default_timezone_name().
- Issue #1131308 Don't try to do timzone conversion when there is no localzone for a field.
- Issue #1093222 Fix broken function to remove calendar views.
- Issue #820670 Add update to move D6 date format data to D7 data.
- Issue 1074344 Fix problem with date select widget that keeps resetting pm back to am.
- Issue #1001186 Make sure that a 2 digit year is flagged as an error.

date 7.x-2.0-alpha1

Bug fixes
Insecure

======================
Version 7.x-2.0-alpha1
======================

- #1082658: Saving the options as arrays breaks other things. Add a custom export plugin instead.
- #1082658, Views options need to be declared as arrays or they are not saved in the export in Views 3.
- #1075896 Break out the code into the simple argument and a complex argument that combines date fields.
- #1075890 Break out the code into the simple filter and a complex filter that combines date fields.

date 7.x-2.x-dev

New features

Known Issues
#2646646: Tests are broken on current 7.x-2.x branch

This branch will totally re-work and simplify the Views filters. These changes may/will break some views and will require that you check views that use the date filter or argument to be sure they are still configured correctly.

date 7.x-1.0-alpha2

Bug fixes

Views made lots of changes to field handling just before the new release, which broke lots of things here. Adding some work-arounds to get things working again and waiting until the dust settles on how the new core fields will be handled in Views before doing much more with the Views integration. These changes should get things working with latest Views release.

date 6.x-2.7

Bug fixes
Insecure

Version 6.2.7
=============
- #514242 Day repeated every two weeks was broken by wrong day comparison value.
- Fix a bug in the calculation of the week days when using ISO weeks.
- #549042 The date_week() function should return an integer even when using ISO weeks.
- #575770 Fix handling of empty vs zero date parts in the date combo processing.
- #385688 by jcmarco, Make sure we don't set relationships where there should be none.
- Fix a strict warning for use of is_a().
- #882980 Fix WSOD in PHP4 from date_format process to create a new date.
- #998498 Don't try to use jquery_ui function in update if it isn't installed, add a warning message.
- #993148 Use url() for link to date format page in date widget settings so it works without clean urls.
- Add more date repeat tests and fix date repeat handling of day of month > 5.
- #784854 by akeemw, fix broken date repeat handling of negative by-day computations.
- Add functions to get a granularity precision from a granularity array or an array from a precision.
- #760284 by skwashd, arithmetric clean up ical rfc compliance.
- #939152 by amelfe add z-index to datepicker 1.7.
- #826458 by troynt Keep date popup from popping up on page load.
- #441970 by recrit and patcon, tweak year range validation in date filter and date argument to be more flexible.

date 6.x-2.6

Bug fixes
Insecure

Version 6.2.6
=============

- Revert #802046. Unicode support change for date parsing causes serious errors.

IMPORTANT NOTE: The included copy of the jQuery UI datepicker in the Date Popups module has been removed. It is now necessary to install the jQuery UI module (http://drupal.org/project/jquery_ui) for the Date Popups datepicker to work!

date 6.x-2.5

New features
Bug fixes
Insecure

Version 6.2.5
=============

NOTE: The included copy of the jQuery UI datepicker in the Date Popups module has been removed. It is now necessary to install the jQuery UI module (http://drupal.org/project/jquery_ui) for the Date Popups datepicker to work!

- #436490 Add support for the jQuery UI 1.7 datepicker.
- #802046 by t3hk0d3, fix date parsing to better handle unicode characters.
- #475926 by hawleyal, clean html out of ical export.
- #675352 by sdague, clean up ical escape text.
- #848644 by Crell, make sure ical_parse_rrule can handle embedded timezones.
- #784652 by keinstein, fix 'r' format.
- #679224 by brianV, add defaults for month and year for latest jQuery UI datepicker.
- #518816 by dww, avoid 'date_format() expects parameter 1 to be DateTime' errors by checking for date class.
- #772180 by recrit and dww, make sure date descriptions always use valid dates for format examples.
- #642018 by slip and KarenS, make sure to eliminate spaces before AM/PM in date popup timepicker.
- #582982 by yahn, make sure date_all_day gets the most significant date element.
- #785708 by bdurbin and locomo, update jquery timeentry to latest version.
- #390012 by joachim, Make sure view args are sorted when creating navigation links.
- #408190 Fix mini calendar title link so it doesn't always link to current date.

date 6.x-2.4

Security update
Bug fixes
Insecure

Version 6.2.4
=============

Pages

Subscribe with RSS Subscribe to Releases for Date