======================
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.
- Issue #554546 by master-of-magic: Fix Timezone list translation
- Issue #1411038 by jhodgdon: Fixed Date formatting is not obeying granularity.
- Issue #1359464, Make sure that default values on hidden elements have the same construct as loaded values to avoid errors.
- Issue #1399744 by tim.plunkett, Rework the way filter groups are used to be sure the Date filter group does not clobber the Views filter group.
- Issue #1411862, Move the date_views_fields() function into date_view.module to be sure it is always available.
- Issue #1380350, Rework SQL query handling to pass in a comparison date for computing offsets to better handle dates affected by DST adjustments.
- Issue #1359464, Temporary fix for broken handling of repeating dates on users with a TODO to figure out where it's coming from.
- Issue #1404494 by byrond, Make sure hidden formatters don't get switched to date_default in update hook.
- Issue #1386012, Order weekdays in Date Repeat form to match the site first day of week settings.
- Issue #1376476 by pbfleetwood, Add commas to default formatting of week and day headers.
- Issue #1408430, Views pagination with exposed, unset, filters, results in invalid default values. Treat them as empty input.
- Issue #1408996, Exposed Date Popup widget with time not correctly initialized.
- Issue #1271726, Text widgets in exposed filters used with pagers produce unexpected results.
- Issue #1096000, Custom date formats not working right.
- Issue #1405364, Format interval settings were getting overridden by missing break.
- Issue #1387890, Make sure disabled fields are shown and retain their original values.
- Issue #1402232 by timplunkett, Switch 'Implementation of' to 'Implements'
- Issue #1402236 by timplunkett, All functions should be prefixed with your module name to avoid name clashes
- Issue #1402238 by timplumkett, Remove references to CCK
- Issue #1011624, Filters and arguments were not always using the right base table to select field options, causing 'column missing' errors.
- Issue #1397822, Fix 'Undefined index: field' error on line 207 of date_views_filter_handler_simple.inc.
- Issue #1396536, Repeating fields weren't getting created with Devel Generate because of the change in widgets. Add new hooks so Date Repeat Field can add the repeats.
- Issue #1397126 follow-up by arlinsandbulte, Fix broken tests.
- Issue #1397158, The default value for the end date was using the wrong timezone setting.
- Issue #1392128 by kidrobot and tim.plunkett, Don't show repeat tab unless the date is repeating.
- Issue #1397126, Add Date API section to administration menu and consolidate Date Popup and Date Tools settings there.
- Follow up to Issue #1302052 by benjifisher, More clean up of ical line endings.
- Issue #1388174 by travist, Remove redundant use of date_default_timezone().
- Issue #1388586 by Moloc, Don't use check_plain() on system messages with links.
- Issue #1302052 by benjifisher, penguin25, and helmo, Fix linespace ending problems in ical files.
- Issue #1357216, The Date Views field list was including the Date Views filter itself, creating errors about missing node.date_filter values.
- Issue #1259870, Reinstate the test for a missing date argument for the pager.
- The new option to hide the add_delta for simple fields needs to be adjusted to work right where there is no field.
- Tweak the all day formula to check for 59:59 even for items that use increments, to help fix problems when the calendar creates all day values.
- Our test for whether this is a Date argument or filter needs to include a check that the field was actually processed by Date Views. Some dates are not.
- Revert the change to 7.8. It breaks the modules page.
- Issue #1379172 by deviantpixel, Note that the Date Repeat form uses a function that was re-named in 7.8.
- Store the locale format in a static cache to avoid re-computing it dozens of times on calendar views.
- Sheesh. Fix syntax error in api.date.php.
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.
- Issue #1087798 by anj, Fix X-WR-CALNAME in VCALENDAR.
- Issue #1017866 by KarenS and Jason89s, Make sure views argument and filter don't do timezone adjustment for dates that don't have time.
- Issue #1204988 by paulsheldrake, Remove IE6 code from 1.7 datepicker CSS.
- Issue #1159404 by mikeryan, Fix incorrect call to parse an rrule in date_repeat_build_dates().
- Issue #1160614 by joelstein, Make sure date repeat rule gets split correctly no matter which line endings were used.
- #1018412 by omerida: get_class() called without object
- #1054458: Move date_increment_round() function into Date API module so it is always available.
- #745074, by rsevero: Don't test for valid timezone-adjusted date for dates that don't use time.
- #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.
- #945982 by tstoeckler, Fix another PHP 5.3 warning.
- #1027752 by B-Prod and dboulet, Fix missing table join on argument summary view.
- #686394 Fix computation of week when week is used as default value of date argument.
- #447868 Figure out when remembered value needs to used in Date filter.
- #430746 by Kermit, Fix missing datetime type in event migration code in Date Tools.
- #1011184 Add function to sort granularity array and use it in date_make_date().
- #1014664 Fix timezone shifts when computing UNTIL date for repeating dates.
- #1014818 Fix bug that only affects old versions of php to show all dates as the current date. Those old versions cannot be made to work the same way, fall back to a less robust workaround.
- #580176 Fix alias handling when dates from multiple content types are used in same view.
- #1013662 by developer-x: Remove check for start and end date - this prevented multiday-all day events from showing 'All Day'
- Add more tests.
======================
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
- Issue #1229378 by ksenzee, Sync the end date with the start date on new dates using select widgets.
- Issue #1236216, Move the repeating date integration out of the Date module and into a separate, Date Repeat Field module.
- Issue #874322, The All Day functionality has been moved into a separate module and hooks were added to make it easier for other modules to inject steps into date processing.
- Issue #1267046, Include the UNTIL date in repeating results..
- Issue #1354606 by temaruk, Rework the repeating date UI to make it more user-friendly.
- Issue #1362654, Remove Advanced Help integration, it needs a total rewrite.
- Issue #1357362, Remove Date Browser, use Date Pager instead.
- Issue #1354606, Make sure COUNT option without UNTIL date can be handled correctly by repeating date computations.
Bugfixes
- Fix to new default date handling, the default date has to set a date in the database timezone, not the display timezone.
- Issue #1245106 by Gábor Hojtsy, Hide the option to add the delta into the view for single value fields.
- Issue #1370876, Make sure new Date All Day code does not try to set the popup values if Date Popup is disabled.
- Issue #874322, Add back the date_field_all_day() function to avoid breaking other modules that are using it.
- Fix Date text placeholder to display a formatted date instead of a format. Follow up to Date repeat UI changes.
- Issue #1248520 by fearlsgroove, Use attribute selector on all day and end day checkboxes.
- Issue #952446 and #1031690, Select dates with only year and month were not working.
- Issue #1292152 by pfrenssen, Remove debug functions.
- Issue #1338976 by Josh Benner, Adjust iCal unwrap to allow for leading spaces, per standard.
- Issue #1352486 by d.novikov, Rework date SQL formatting for Microsoft SQL.
- Issue #1266536, Keep timezone adjustments from altering the values for repeating date EXCEPTIONS and ADDITIONS.
- Issue #1353488, Some repeating date calculations using PHP 5.3.6+ were not computing correctly.
- Issue #1364026, Fix link to documentation, also move help to Date API module.
- Issue #1276270, Fix fatal error when using repeat date on user.
- Issue #1362758, Add empty file for the date_plugin_display_attachment.inc file that was removed, to avoid fatal errors if it is missing on a site that formerly used it.
- Issue #1363460, Make sure widget dates do not end up with the current date when they should be empty.
- Issue #1353488, Attempt to fix problem using date_date_set() in PHP 5.3.6+.
- Date Migrate tests needed some fixes to conform to latest code.
- Issue #1353790, Hide missing index notice if the value in the Date Popup does not match the expected value, it will still get trapped as a validation error.
- Issue #1353790, Make sure Date Popup properly translates the default value if it includes month or day names.
- Issue #1217796, Make sure that All Day formatting works correctly even if the All Day label is empty.
- The repeat description was lost by a recent change to the theme that sent the element through the theme twice.
- Remove date_get_nested_elements() function. Not being used and I don't want other code to start expecting it.
- Issue #1266144, The end date should get set to blank if it is optional and matches the start date, but only if it is not populated by default values.
- Issue #1349510, Make sure default values get populated before processing so they still get set on hidden fields.
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
- Issue #1280658 and follow up to Issue #1238660 by KarenS and tockliasteroid, Rework the format control over the summary title and apply it to the title() callback.
- Issue #1276622 by ArtistConk, Make sure Except date contains no default value.
- Issue #1153766 by fago, More work on the entity property setters and getters.
- Issue #1331214, Make sure Date Migrate properly handles empty date values.
- Issue #1285224, Make sure Date Migrate works for importing repeating dates now that widgets have changed.
- Issue #1162290, Make sure date for example formats avoids confusing short and long month names.
- Re-organize handling of custom date formats.
- Issue #1122038, Make sure empty values are not passed to Views to be themed for repeating dates.
- Issue #1101284 by pfournier, Expand regex for Month names to catch more possible variations.
- Issue #1343406 by slashrsm, add back the caching of the views fields list.
- Issue #1302374 by miro_dietiker, Account for an inconsistency in core handling of non-existant date formats.
- Issue #1344014 by James Sharpe, Get rid of 'Repeats every 0 days' description.
- Issue #1302212, Change the way default dates using custom code are created.
- Issue #1292898, Check for all day checkbox in the basic date element validation so empty time for newly added elements still passes validation.
- Issue #1252952 follow up, Move checkbox setting to the same spot where time is set, and don't show option on dates without time.
- Issue #1335818 by joelpitter, Don't create a date for empty values in the date getters and setters.
- Issue #1271726, Keep default_value out of exposed form so it won't show up in pager.
- Issue #1017866, Fix miscellaneous problems where filter/argument incorrectly do timezone adjustment.
- Issue #1103032, Attempt to add setters to date entity metadata so Rules can use them.
- Issue #1153766, Adapt metadata functions to the pattern in the current Entity code, add $info to the getters.
- Issue #1278876 by basicmagic.net, Typo in date.css
- Issue #752550 by Fonant, Week number gets printed twice
- Issue #1052586 by jpsolero, Problem with Date API when using Calendar with argument set to "Week" granularity and "current date" default argument
- Issue #1266144, End date same as start date default not being respected.
- Issue #1239934 by casey, Fix javascript exception in date_year_range.js.
- Issue #1310558, Don't show extra label on exposed date filter.
- Fix bug in Date Popup that still uses the current date when the default date is empty.
- Issue #1335578 by aaronbauman, Make it possible to pass in +/- 1000 years to years back/forward.
- Issue #1292516 by mcarbone, Fix Uninitialized string offset in Date Migrate.
- Issue #1084980 by jwilson3, Set default value for $granularity to be array in date_formatter_format.
- Issue #1227350 by grendzy, Summary view should not be calling date_forbid().
- Issue #1286570, Fix undefined index error caused by using a remember value without checking if it exists.
- Issue #1337440 by phoenix, Fix syntax error in vcalendar tpl file.
- Issue #1103032, Add plain date formatter and set it to be the default token formatter.
- Issue #1177684 by tim.plunket, Fix typo in last commit.
- Issue #1177684, Wrong translation of short month name.
- Issue #1201342 by colinlee and alexprv, Comment out SQLSVR timezone adjustment until it gets fixed properly.
- Issue #1308274 by sneyerst, SQL Server DATEPART function cannot accept composed datetime formats.
- Issue #1308266 by sneyerst, Fix arithmetic overflow in SQLSVR.
- Issue #1333104 by tim.plunkett, Check that $field['settings'] exists in date_is_repeat_field().
- Error message for years back and forward doesn't match new labels, should be Starting year and Ending year.
- Issue #1179715, Switch drupal_array_get_nested_value() to use 'values' instead of 'input', where it makes sense, and simplify some of this code.
- Issue #1179715, Create a helper function for testing hidden/disabled dates and test each date element and validator to skip processing in that case.
- Issue #1179715, When hidden by #access=FALSE, repeating date fields were getting removed and not replaced.
- Issue #1179715, By pass date repeat widget processing and validation when element is hidden from user.
- Issue #1179715, Don't do timezone adjustments in the widget, wait for #process so we can skip it when the date field has been hidden by #access.
- Issue #1338194, Logic for creating end date wasn't taking into account the possibility that a field might have no value2.
- Issue #1179715, Default value callback for the timezone widget was not returning an array.
- Issue #1179716, Remove value_callback for date_repeat and date_combo forms, the default behavior works fine.
- Issue #1178716 by das-peter, Use drupal_array_get_nested_value() in Date Repeat instead of trying to find it manually.
- Issue #1178716 by das-peter and KarenS, Tweak the date repeat widget to identify empty input when used on nodes with translation.
- Issue #1178716 by das-peter and KarenS, Fix date repeat form values that are not arrays when hidden on a node that has translation.
- Issue #1178176 by das-peter, Fix date_combo_value_callback to return NULL to avoid data lost on untranslatable dates used with Entity Translation.
- Date Context module was making incorrect assumptions about the $language of the field.
- Issue #1237974, Schema module wants the datetime column to be lower case.
- Issue #1233084, fix a few places that were wrapping $instance['label'] with t().
- Issue #1188380 by Xen and jherencia, use #title instead of field['label'] in date display because that has the i18n translation.
- Issue #1330768 by das-peter, remove whitespace.
- Tweak date_pager_url to allow a way to create non-absolute urls.
- Make sure deleted displays won't create errors in Views by returning FALSE in date_forbid() if there is no date argument.
- Issue #1257830, Beef up the logic when creating the date repeat tabs to work for more kinds of entities.
- Issue #1260962, Repeating date fields should save the date even if there is no repeat information.
- Issue #1241836 by kzoli, Fix undefined cardinality indexes.
- Issue #1233722, Fix undefined index notice in pager when other filters are used.