Projet

Général

Profil

Révision 599a39cd

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/date/CHANGELOG.txt
1
Date Module 7.x
2
=================
3

  
4
======================
5
Version 7.x-2.8
6
======================
7
- Issue #106713 by vijaycs85, heddn: Date Field title XSS(SA)
8
- Issue #2310123 by Temoor: Fixed Fatal error in Migrate UI by Date Migrate Example.
9
- Issue #2142277 by Temoor | lliss: Fixed Infinite Loop When Using Repeating Dates.
10
- Issue #1871136 by Temoor | funkimunky: Fixed Cannot remove migrate example content type.
11
- Issue #2261395 by minorOffense | kristofferwiklund: Fixed date_now is not respecting changes to timezone.
12
- Issue #1832400 by imot3k, balintk: Fixed "The year/month/... is missing" error message is not translatable.
13
- Issue #998076 by coredumperror, joelcollinsdc, brenk28: Fixed Problem with timezone handling (caused by date_get_timezone_db returning only UTC).
14
- Issue #1976014 by Harmageddon: Remove unnecessary   in date views pager.
15
- Issue #2198807 by stickywes: Refactor field tests to utilize DateFieldBasic.
16
- Issue #2146461 by vijaycs85 | Razia_b: Fixed Translated field's label is not used in its validation messages.
17
- Issue #1874422 by bluetegu, brockfanning, rv0: Fixed Week pager may cause incorrect "next" link on year change.
18
- Issue #2167015 by schifazl: HTML output breaks validation and accessibility.
19
- Issue #2200513 by scor: Fix encoding issues in CHANGELOG.txt.
20
- Issue #2115377 by coredumperror: Notice: Undefined index: add_microdata in theme_date_display_single().
21
- Issue #2178299 by sandykadam | joachim: Incorrect variable name in hook_views_data_alter().
22
- Issue #1431952 by Cadila | Shawn DeArmond: Date field will only set in Rules if it already has a value.
23
- Issue #355058 by Grimreaper | prunelle: Hardcoded day/month/week output format for theme_date_nav_title().
24
- Issue #1968828 by pjcdawkins: Replace field_info_fields() with field_info_field_map() for Drupal >= 7.22.
25
- Issue #2167033 by podarok, vijaycs85: Fixing tests in 2014 .
26

  
27
======================
28
Version 7.x-2.7
29
======================
30
- Issue #1691342 by Cyberwolf: Field description is displayed multiple times.
31
- Issue #1668240 by ianthomas_uk: /themes/jquery.timeentry.css is not aggregated with other CSS files.
32
- Issue #1974056 by pjcdawkins: Add a CSS class to the date repeat rule.
33
- Issue #2065749 by vijaycs85, blackdog: $class in theme_date_repeat_rrule is not used.
34
- Issue #1840008 by cr0ss, Alan D.: Unlock "Date attributes" (granularity) field setting.
35
- Issue #1580032 by jmuzz | 30equals: Date values are not being saved when field is used in a nested field collection.
36
- Issue #2071629 by blackdog: #after_build wrongly added, overwrites other modules.
37
- Issue #1869962 by kaidjohnson: Date Context breaks context edit form.
38
- Issue #1571258 by David_Rothstein | ddalvi: Date and time form elements do not have accessible labels when the label position is set to 'Within' or 'None'.
39
- Issue #2130575 by kostajh: Unset() should be used with more caution in views_filter_handler_simple().inc.
40
- Issue #1826598 by eromba, jyee: 'c' and 'r' formatter causes date to be printed twice in views.
41
- Issue #1933472 by minorOffense: Added Optimize date_now() function.
42
- Issue #1248786 by kenneth.venken | dboulet: Fixed appearance of marker for required date fields.
43
- Issue #1810734 by ParisLiakos: Fixed Repeat checkboxes working reversed with updated jQuery.
44
- Issue #1844092 by dboulet, kardave, Spleshka: Fixed Untranslated strings: month, day, ...
45
- Issue #1202248 by james.williams, dawehner, mikehues | DamienMcKenna: Fixed Exported view doesn't include 'default_argument_options()' attribute.
46
- Issue #1409120 by anrikun, akamustang | marsbidon: Added Date format in views exposed filter does not respect configured format.
47
- Issue #1858112 by tomdearden: Fixed DateObject->difference not calculating correctly for future dates > 1 year away.
48
- Issue #1659466 by artkon: Fixed Date filter does not remember value in views if the identifier is something other than date_filter().
49
- Issue #1905096 by gielfeldt: Fixed Wrong usage of database API.
50
- Issue #1791804 by 5n00py: Errors on form validation if date field placed in sub-form.
51
- Issue #636208 Date range: Expose a single filter to select events that start before the chosen date and end after the chosen date by anrikun.
52
- Issue #2024269 Date popup documentation fix by RoySegall.
53
- Issue #1835184 by Steven Jones, das-peter, jwhat: Fixed date_limit_format() can have poor performance.
54
- Issue #991830 by milesw | restyler: Fixed validation errors when date_popup() date is localized.
55
- Issue #2098715 by jhodgdon: Fixed Date field not obeying widget alters for #required.
56
- Issue #1266688 by linclark, rbayliss, fago, colette: Support microdata in date fields.
57
- Issue #1863610 by maximpodorov: Fixed Invalid date formatting.
58
- META #2034231 #1832544 Class registration for Migrate 2.5 or later - mikeryan, [#1835214] Automated tests failing - Exception thrown in Date2 migration - PatchRanger, [#
59
- Issue #1350604 by Alan D., johaziel: Added Diff support for Date fields.
60
- Issue #2086313 by dooug: Fixed Wrong path in date_popup() README.txt
61
- Issue #1455558 by BTMash | mediameriquat: Fixed Missing file in date_views().info causes error 500.
62
- Issue #1697322 by Alan D., ianmthomasuk | pandikamal: Fixed Call to a member function getName() on a non-object in date api.
63
- Code cleanup, remove #prev values that were never used in repeat functionality.
64
- Small fix needed to ensure cardinality gets set correctly if repeat option is changed in the UI.
65

  
66
======================
67
Version 7.x-2.6
68
======================
69

  
70
- Issue #1423364 by catmat, Add file and path to hook_context_plugins().
71
- Issue #1713248, Remove incorrect use of date_popup() function in previous commit.
72
- Issue #1143680 by kristiaanvandeneynde, Make Date Popup widget able to accept custom settings.
73
- Issue #1596546 by applicity_sam, Make sure incorrect month name creates validation error.
74
- Issue #1432702, Fix some miscellaneous problems with date example dates and formats.
75
- Issue #1512464 by Liam Moreland, Allow for undefined formatter in Date upgrade handling.
76
- Issue #1659638 by bojanz, Hide install message if Drupal is not installed (i.e. in install profiles).
77
- Issue #1605158 by covenantd, Be sure value2 is initiated in Date Context handler.
78
- Issue #1355256 by barraponto develCuy and KarenS, set default value for date text widget increment to 1, and update existing fields.
79
- Issue #1561306 by Cyberwolf, Date pager replacement was not working correctly when used with multiple dates.
80
- Issue #1541740 by hass, Make Date requirements more easily translatable.
81
- Issue #1543524 by iamEAP, Add update hook to remove the D6 date_timezone field from users.
82
- Issue #1603640 by bevan, Don't return anything for empty date interval.
83
- Issue #1235508, Make sure that ISO strings with '00' in the month and/or day don't create dates for the previous month and day.
84
- Issue #1289270 by pdrake: Fixed date arguments and filters do not work with relationships.
85
- Issue #895760 by Reinette: Added RFC2447 option 'STATUS' to date_api_ical().inc.
86
- Issue #606658 by johnmunro and KarenS, Make sure ical import processes multi-day all-day events correctly.
87
- Issue #1408216 follow up, Need to be sure that NULL is the default state for the sql functions.
88
- Issue #1540410, Update the Date Tools calendar creation wizard to use the new calendar path.
89

  
90
======================
91
Version 7.x-2.5
92
======================
93

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

  
96
======================
97
Version 7.x-2.4
98
======================
99

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

  
105
======================
106
Version 7.x-2.3
107
======================
108

  
109
- Issue #1444804, Remove html placeholder on text widget.
110
- Issue #1286230, Clean up date pager documentation, it contains deprecated information.
111
- Issue #1469020, Make sure page not found is working right for dates outside the specified range.
112
- Issue #1111626, Fix some problems caused by passing in a date string with an offset.
113
- Issue #1477860, Avoid undefined index errors in date_views_select_validate().
114
- Issue #1469038, Add some clarity to the BYDAY description options and make sure a valid value is selected.
115
- Issue #1405364 by snufkin, Add display options to format_interval to match Views interval options.
116
- Issue #1266688 by linclark, Add microdata support to Date metadata.
117
- Issue #1509434 by casey, Add timezone info in hook_field_presave() instead of hook_field_insert() and hook_field_update().
118
- Issue #1509012, Fix fatal error when viewing repeat tab.
119
- Issue #1037174 by dealancer, More work to allow ajax to work on other widgets.
120
- Issue #1473592 by zabelc, Make sure migrated date with missing end date still gets imported correctly.
121
- Issue #1442718 by jastraat and bones, Make sure show end date checkbox does not display when end date is empty.
122
- Issue #1504556, Fix invalid access permission name in Date API configuration menu.
123
- Issue #1484458, Vega timepicker code was incorrectly computing the default date because of the wrong format for the value passed to it.
124
- Issue #1459668, Add back Remove date_field_get_sql_handler() function temporarily since Signup module is still using it. Mark it deprecated.
125
- Issue #1478296, Display longer abbreviations for day names in date repeat widget so they can be translated.
126
- Issue #1488662 by martin.heidegger, Make error message more easily translatable.
127
- Issue #1478848 by onelittleant, Don't set default values on new translation entities.
128
- Issue #1360672, Fix limit format code to remove leftover non-ascii text as well as leftover ascii text.
129
- Issue #1464280 by geerlingguy Georgique and dealancer: Fix notice when using exposed between filter.
130
- Issue #1484640 by onelittleant, Some entities may not have base tables.
131
- Issue #1472966, Get rid of notice that appears for entities without repeats.
132
- Move pager css around. Some code in Calendar and Date API belongs in Date Views.
133
- Fix Date Popup default format which was ending up using 24 hour time no matter what format was used for short format.
134
- Remove outdated _repeat widget name from Date Tools.
135
- Date Tools is defaulting to creating a calendar even if Calendar module is not enabled.
136
- Issue #1472148 by arlinsandbulte: wvega jQuery time-picker doesn't show scrollbar.
137
- Issue #1392128 by kidrobot, tim.plunkett, willvincent: Fixed Repeats tab shows on nodes with non-repeating dates.
138
- Issue #1452882 by coredumperror: Fixed Date Migrate Example doesn't deregister it's migration when disabled.
139
- Issue #1452408 by reglogge: Fixed Trailing dots are removed from date formats even if they are needed for the format.
140
- Issue #1285260 by Steven Jones: Fixed 'Starting from' display option.
141
- Issue #1467244 by bluetegu: Fixed Recurring Sunday errors.
142
- Issue #1442718, Empty default values were getting populated by the code that tried to fix default values on hidden fields.
143
- Make sure date_handler->placeholders gets initialized even for queries that don't execute so the pager won't throw an exception if the value is missing.
144

  
145
======================
146
Version 7.x-2.2
147
======================
148

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

  
152
- Issue #1423364 by emptyvoid, Move Date context plugin into its own file.
153
- Issue #1447372 by yched, Memory friendlier version of date_repeat_field_bundles().
154
- Issue #1447140 by tim.plunkett: Remove iCal-related theme functions/files.
155
- Issue #1284170 by benjifisher, Lots of cleanup of the iCal export and its template to be sure all day items are exported correctly.
156
- Issue #1346424, The calendar title got left out of the latest ical template changes.
157
- Add more information to the date_views_base_tables() function about why we can't use the entity type from views_fetch_data().
158
- Additional handling is needed so that revisions are handled correctly in Views.
159
- Remove date_field_get_sql_handler() function which isn't being used anywhere.
160
- Rework the Date Views hooks that queue up the right fields and base tables so they work better across all types of entities.
161
- Fix the hooks for file tables, it is file_managed, not files.
162
- Add a helper function to map entity types to Views base tables to make it easier to know what type of entity is being used on a view.
163
- Add status information to Date help screen, hide the non-working change tab on the Date Tools screen, and remove some code that goes to the calendar module from Date Tools.
164

  
165
======================
166
Version 7.x-2.1
167
======================
168

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

  
184
======================
185
Version 7.x-2.0-rc2
186
======================
187

  
188
New Features/Major Changes
189

  
190
- 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.
1
Date 7.x-2.11, 2021-03-05
2
-------------------------
3
#3177831 by DamienMcKenna: Add test coverage for the All Day functionality.
4
#3197985 by DamienMcKenna: Expand unit tests for date_is_all_day().
5
#3197561 by DamienMcKenna: Add functional tests for All Day output.
6
#3016390 by DamienMcKenna, mr.york, steinmb, joseph.olstad, lily.yan,
7
  solideogloria, nagy.balint, micahw156, Kevin Morse: Change in "All day"
8
  end-of-day definition broke existing data.
9
#3164305 by DamienMcKenna, FranckyLFS, hughworm, preethy211, joelpittet,
10
  lavamind, derekw, leendertdb: Notices in theme_date_display_combination()
11
  after upgrading to PHP 7.4.
12
#2123039 by DamienMcKenna, hgoto, RoSk0, joelpittet, torotil: Default timezone
13
  setting mismatch in metadata wrapper integration.
14

  
15

  
16
Date 7.x-2.11-rc1, 2020-10-02
17
-----------------------------
18
#3084897 by steinmb, Chris Matthews: Fix the LICENSE.txt.
19
#2692215 by DamienMcKenna, stickgrinder, zread: Unconditioned access to
20
  non-existent array key in date.theme.
21
#3111299 by DamienMcKenna: Test refactoring, split out Date Popup tests, move
22
  tests to appropriate submodule.
23
#2457423 by Liam Morland, ckellyirish, mparker17, DamienMcKenna, bmateus,
24
  sagannotcarl, katannshaw, Max1, alansaunders92, derekw, alex awg 2015,
25
  truman_ru, wylbur, nicrodgers, ninabyte, Michele Wickham, iStryker, dsdeiz,
26
  anpolimus, captainack, ashzade, brad.bulger, cameronprince, Chris Matthews,
27
  Vali Hutchison, jenlampton, vishal.sheladiya, jshosseini, akolahi:
28
  Incorrectly-initialized DateTime object(s) cause PHP warnings in
29
  DateTime::format(), other DateObject functions.
30
#2595957 by aurelianzaha, DamienMcKenna, hgoto, klausi, pedrogk, FireHawkX,
31
  Chris Matthews: Field label not displayed when rendering as regular field and
32
  only using year.
33
#2359653 by iamEAP, Sweetchuck, franxo, DamienMcKenna: Validation doesn't take
34
  into account translations of AM or PM.
35
#3096720 by Liam Morland, ebremner: date_is_all_day() returns FALSE when
36
  $granularity is not 'hour' or finer.
37
#1257024 by joseph.olstad, maxocub, steinmb, iMiksu, DamienMcKenna, acbramley:
38
  Required Date popup field not showing red asterisk.
39
#3145639 by Ronino, joelpittet: Curly brace syntax for accessing array elements
40
  and string offsets has been deprecated in PHP 7.4.
41
#2930732 by NuWans, DamienMcKenna: PHP warning on file_exists fail.
42
#3161408 by DamienMcKenna, Ronino: Test failure in DateMigrateTestCase.
43
#3163293 by Steven Jones, joseph.olstad: date_update_7007 will fail with
44
  different field storage backends.
45
#2848963 by joelpittet, DamienMcKenna: date_views_filter_handler_simple
46
 ::operators call t() a lot.
47
#1762612 by moymilo, cafuego, tamahome14, vanshyr, plachance, steinmb: Error
48
  "OLD used in query that is not in a rule" in date_api_update_7000 with pgsql.
49
#3168045 by DamienMcKenna: DateFieldTestBase::dateForm extended incorrectly.
50
#3168034 by DamienMcKenna: Refactor date_migrate_example to be reusable.
51

  
52

  
53
Date 7.x-2.11-beta3, 2019-09-22
54
-------------------------------
55
#1392472 by Taran2L, jvandooren, podarok, jeff h, FluxSauce, maen, solotandem,
56
  nickonom, anrikun, JvE, steinmb, joelpittet: Undefined index: timezone in
57
  date.field.inc.
58
#3022378 by dev11235, DamienMcKenna, joelpittet: Date with empty "Repeats #
59
  Weeks" and "Repeats Every # of Days" validation needed.
60
#2769057 by id.medion, Chris Matthews, steinmb: Remove unused argument in the
61
  function calls field_cache_clear() and field_info_cache_clear(),
62
#3033104 by DamienMcKenna: Add a LICENSE.txt file.
63
#3032391 by herved, steinmb, skylord, DanielVeza: Empty date fields are being
64
  displayed.
65
#3033022 by solotandem, steinmb: Correct reference to granularity setting.
66
#2701545 by ron_s, Chris Charlton, Chris Matthews, adci_contributor,
67
  DamienMcKenna: Add support for Date Popup Timepicker module.
68
#3081547 by bhaskar-chakraborty, DamienMcKenna, vijaycs85: Update 7006 breaks
69
  when using the field_encrypt module.
70
#3032835 by solotandem, DamienMcKenna, steinmb, John_B: Validate input to date
71
  filter handler.
72

  
73

  
74
Date 7.x-2.11-beta2, 2018-10-26
75
-------------------------------
76
#3009740 by evgeny.chernyavskiy, DamienMcKenna, steinmb: PHP 7.3 compatibility,
77
  swtich-continue.
78
#1267434 by Ronino, DamienMcKenna, kingandy: Default value for #date_items
79
  should be an array in date_field_widget_form().
80
#2706965 by DamienMcKenna, arulraj, joelstein: Getting browser autocomplete for
81
  date pop fields.
82
Reverted #2123039.
83
#3010076 by DamienMcKenna, steinmb: Improve coding standards in Date module.
84
#3012729 by joseph.olstad, lazzyvn: Bad variable $elent.
85
#2843367 by artem0793, Liam Morland, azovsky: String Offset errors on edit page
86
  using PHP 7.1.0.
87
#2447277 by SebCorbin, steinmb: Performance: replace sylesheets[all][] with
88
  attached.
89
#2990189 by solotandem, jacob.embree, theaxe, sonnykt: Illegal string offset
90
  'value' in date_combo_element_process.
91
#2792385 by binoli.addweb, brunodbo, pingwin4eg, joelpittet, DamienMcKenna:
92
  Include project namespace in dependency declaration.
93
#1138210 by djdevin, kyoder, coltrane, cafuego, JvE: date_sql_handler
94
  STR_TO_DATE math incorrect.
95
#1415210 by jgullstr, nmudgal, ohthehugemanatee, djdevin, asirjacques,
96
  christine1126, steinmb, cydharttha, Jelle_S: Date popup calender doesn't
97
  popup when reach to text-field via tab.
98
#2894759 by DamienMcKenna, Mansi.AddWeb, hiramanpatil,
99
  Michael_Lessard_micles.biz, steinmb: (All Day) : the parantheses are
100
  hardcoded.
101
#2703401 by jacob.embree, le72, Chris2: Bad assumption about year range format
102
  in date_devel_generate().
103

  
104

  
105
Date 7.x-2.11-beta1, 2018-10-26
106
-------------------------------
107
#2937071 by DamienMcKenna: Tidy up the CHANGELOG.txt file.
108
#2514146 by ram4nd: Remove the .gitignore file.
109
#2533080 by jribeiro, DamienMcKenna, rajeev_drupal, badjava: 'clone' is a
110
  reserved keyword introduced in PHP version 5.0 and cannot be invoked as a
111
  function.
112
#2843367 by RemyAroundTown, alesr, joelpittet, DamienMcKenna, oadaeh,
113
  ikeigenwijs, johnzzon, Novitsh, matthiasm11, glynster, robertgarrigos,
114
  dchatry, szeidler, Majdi, Plazik, NancyDru, nanobyt3: String Offset errors on
115
  edit page using PHP 7.1.0.
116
#2889636 by MustangGB, ikeigenwijs, Stevel: Fix PHP 7 tests.
117
#2503807 by DamienMcKenna: Date Pager position has no effect after updating to
118
  Views 3.11.
119
#2995679 by Liam Morland, joseph.olstad: PHP 7.1 no longer converts string to
120
  arrays the first time a value is assigned with square bracket notation.
121
#2889759 by ladybug_3777: Exposed Date Filter - PHP 7 Error.
122
#2449261 by daniel_j, pcho, joseph.olstad, David Hernández, collinhaines,
123
  vinmassaro, SkyNet Costa Rica: expects an array, not a scalar - Fatal error:
124
  Cannot create references to/from string offsets.
125
#1741062 by kim.pepper: The merge method of DateObject class has a wrong
126
  parameter type.
127
#2873415 by Squee3P0, jcisio, rujinxero, digitaltodd, fdverwoerd, Stray14: PHP
128
  5.3 - Date field being flagged as Invalid date not actually invalid.
129
#2902829 by JayKandari, tucho, nileshlohar, matthiasm11, mr.york, kmonty:
130
  Formatter settings for Custom date type is not getting saved.
131
#2208769 by Cracu, bunthorne, jeni_dc, Proteo, Reis Quarteu, echoz: Theme hook
132
  not found while managing date field.
133
#3002449 by plach: Timezone rendered when theming date formats without time.
134
#2123039 by Gold, hgoto, DamienMcKenna: Add Entity API as a new test dependency.
135
#2123039 by Gold, hgoto, DamienMcKenna, RoSk0, Juterpillar, joachim: Default
136
  timezone setting mismatch in metadata wrapper integration.
137
#2323857 by anpolimus, DamienMcKenna, claudiu.cristea, catch, joelpittet:
138
  date_field_schema() has no index on date.
139
#2016787 by r-mo, DamienMcKenna, joep.hendrix, heddn, julien_g: Change date
140
  fields to "big" int values to avoid "PDOException 22003" errors.
141
#1137062 by El Alemaño, Nelson Lago, bjcooper, ron_s, ronnienorwood, lunazoid,
142
  Michael_Lessard_micles.biz, DamienMcKenna, vinmassaro: Follow-up to fix
143
  regression on week calculations.
144
#1177198 by tim.plunkett, DamienMcKenna, MustangGB, arlinsandbulte, KarenS:
145
  Allow CTools to process #dependency for date elements.
146
#1778220 by hswong3i, kpyan8s, jacob.embree: Remove version from
147
  date_migrate_example.info for better git_deploy integration.
148
#2880395 by DamienMcKenna, jojonaloha, GoZ: Fatal error: DateTimeZone could not
149
  be converted to string.
150
#2100851 by Juterpillar, Drupa1ish, RoSk0, pingwin4eg, acbramley: Date views
151
  exposed filter causes SQL error on PostgreSQL.
152
#2453445 by DamienMcKenna, dan3h, rahul.nahar001: PDOException not handled when
153
  using PostgreSQL without timezone support.
154
#2204713 by BR0kEN, jstoller, ebeyrent, gaurav.goyal: Undefined index
155
  #default_value in date_select_element_process.
156
#2291271 by emek, LoonyLuna, periksson: Datepicker needs dynamic width.
157
#2851020 by jacob.embree, nileshlohar, AshwiniPatil, rahul.nahar001,
158
  Pranjal.addweb, DamienMcKenna, darshanchoudhary: Use of uppercase for PHP
159
  constants.
160
#2832257 by danuddara, alexbarrett: Typo error - "The upcoming date less then 1
161
  day" - date.theme.
162
#2844948 by jiv_e: Notice: Undefined index: tz in date_ical_date().
163
#1882432 by DamienMcKenna, lolandese: Improve the module'\''s README.txt files.
164
#346752 by rreiss, DamienMcKenna: RTL support.
165

  
166

  
167
Date 7.x-2.10, 2017-04-07
168
-------------------------
169
#1037150 by raggax2, vishy_singhal, >antroxim, Risse: date_popup element with
170
  just time doesn't work.
171
#2648114 by tsapenkoum: DateTime::format(): The DateTime object has not been
172
  correctly initialized by its constructor in DateObject->format().
173
#2780415 by prince_zyxware, DamienMcKenna: As per Drupal coding standards, use
174
  uppercase for PHP constants.
175
#2646646 by anpolimus, Stevel, DamienMcKenna: Tests are broken on current
176
  7.x-2.x branch.
177
#2412049 by Stevel: DateMigrateExampleUnitTest fails if migrate is missing
178
#2186191 by kaare, jiv_e, DamienMcKenna, welly, PascalAnimateur, lussoluca,
179
  mErilainen, vijaycs85, paulwdru, zerolab, joep.hendrix, marc.groth, podarok,
180
  pmackay, idebr, jastraat, WorldFallz, autopoietic, streever: Missing help text
181
#2377623 by ekli">Gergely Lekli, qzmenko: Remove unnecessary space in data_combo
182
  title.
183

  
184

  
185
Date 7.x-2.10-rc1, 2016-04-27
186
-----------------------------
187
#1355256 by develCuy, barraponto, KarenS, jgullstr, Romash: date field minutes
188
  and seconds rounding after update/save.
189
#1889744 by tatyana, mstrelan, mariagwyn:  PDOException when saving date as unix
190
  timestamp.
191
#1504202 by seanB, steinmb: Allow entering of custom date format in Views field
192
  handlers.
193
#2532636 by jstoller: Undefined index: #default_value in
194
  date_popup_process_time_part().
195
#1699312 by gmclelland, pounard, Niklas Fiekas, azinck, netlooker: Fatal error:
196
  Call to undefined function date_field_widget_settings_form_validate() in
197
  form.inc.
198
#1874422 by danwonac, bluetegu, SeanA, rv0, brockfanning: Pager may cause
199
  incorrect "prev" or "next" link.
200
#2038057 by vijaycs85, djdevin, pivanov: date_select element's default value as
201
  an array raises a warning.
202
#2026545 by mistermoper, Jon Nunan: Date field's interval formatter always uses
203
  start date.
204
#2331975 by BarisW, StryKaizer: Sync end date for the date popup functionality.
205
#2339119 by maximpodorov, darkdim: Notice: Undefined index: date in
206
  date_text_element_process().
207
#2570239 by PascalAnimateur: Display date range as span instead of div
208
#2611968 by FluxSauce: PHP Fatal error: Class 'MigrateFieldHandler' not found
209
#2160843 by ohokare">nupur.lohokare: Grammar issue: "Date objects can be created
210
  and cached as date fields are loaded rather than when they are displayed to
211
  improve performance".
212

  
213

  
214
Date 7.x-2.10-beta1, 2016-01-08
215
-------------------------------
216
#2325207 by jojonaloha, v1nk, podarok: DateTimeZone could not be converted to
217
  string.
218
#2469189 by TommyK: Notice: Undefined index: show_remaining_days in
219
  date_field_formatter_view() (line 210 of …/date/date.field.inc).
220
#1854220 by ryanissamson, paravibe: Add module_exists so that error isn't thrown
221
  when disabling date_repeat_field module.
222
#2375235 by Lostboy22, steinmb, rsmylski, Jelle_S: Calendar block Next/Prev
223
  navigation broken.
224
#1889744 by tatyana, mstrelan, mariagwyn: PDOException when saving date as unix
225
  timestamp.
226
#1797630 by damiankloip, webby7097, Fabianx: 'Is empty(null)' views filter is
227
  not working with exposed operators enabled when actual date values are left
228
  empty.
229

  
230

  
231
Date 7.x-2.9, 2015-09-08
232
------------------------
233
#2072679 by leewillis77: SQLSTATE[42S22] error and no results when multiple
234
  dates included in views filter.
235
#2503315 by CptCasual: Fatal error: Cannot unset string offsets in
236
  date_elements.inc.
237
#2543442 by dawehner: Expose site-wide date input format in the UI.
238
#1993110 by Hanno, tsyvs, Valentine94: field type not translatable.
239
#1675844 by mpdonadio, justin2pin, paravibe, Valentine94: The "Repeat" checkbox
240
  does not open / close the correct fieldset in some circumstances.
241

  
242

  
243
Date 7.x-2.9-rc1, 2015-03-27
244
----------------------------
245
#2199587 by oadaeh, jmuzz: Second validation of date popup causes error.
246
#2374287 by vijaycs85, herd45: Error messageNotice: Undefined index: value in
247
  date_views_select_validate.
248
#2420323 by Michelle: Exposed date filter shouldn't automatically set a default
249
  date if none requested.
250
#1437892 by stefan.r, interdruper: Undefined index notices in date_popup.module
251
  and default values disappear.
252
#2372073 by vijaycs85, Lostboy22, maximpodorov, stefan.r: Undefined variable:
253
 granularity in date_views_plugin_pager->query() (line 285 of date_views
254
 /includes/date_views_plugin_pager.inc.
255
#2451027 by Chewie, stBorchert: Migrate module: undefined index timezone error.
256
#206127 by TravisCarden, BenPoole, dwightaspinwall, nerdcore, georgir: Add
257
  ability to sort Views exposed filters SELECT lists in reverse.
258
#2235393 by Pere Orga, andrdrx: CSS pseudoselector 'ends with' should not be
259
  used with the class attribute.
260
#1078788 by jacob.embree, mgifford: Coder issues in Date.
261
#1137062 by Sylvain Lecoy, schifazl, hughworm: date_week_range and
262
  date_iso_week_range both returns 1 day too much.
263

  
264

  
265
Date 7.x-2.9-beta2, 2014-12-04
266
------------------------------
267
#1166036 by andriyun | Palmeus: Showing the remaining days until event.
268
#2359673 by korgik: Fixed Wrong condition in removeGranularity method.
269
#2375605 by cosmicdreams, ssdas: When configured to use Date's timezone and
270
  using a muti-value date field, I expect each date field to remember the
271
  timezone that was set.
272
#2371471 by schifazl, anrikun, esomething, MXT, maximpodorov, alayham,
273
  Lostboy22, k.skarlatos: Error with entity_metadata_wrapper for Date Field with
274
  Start But No End.
275
#2332181 by bneil, cafuego: Add update hook for date_views variables.
276

  
277

  
278
Date 7.x-2.9-beta1, 2014-11-08
279
-------------------------------
280
#2366199 by vlad.dancer: Sniffer fixes.
281
#2325425 by catch: Fixed Trim input dates in date_popup.
282
#2238135 by Valentine94, cs_shadow, e5sego: Fixed 0 (zero) time value will be
283
  rejected.
284
#2277107 by LinL: Fixed Date API's Status report entry repeats the word "to".
285
#2367791 by sergiuteaca: Fixed Extra white space before full stop on Repeat
286
  title.
287
#2367779 by andreyks, sanchiz: Fixed Regression in date_popup.js after code
288
  cleanup.
289
#1246940 by yingtho, andreyks | acbramley: Added more custom formats for Date
290
  Popup.
291
#1909566 by Valentine94, Ronino: Fixed Devel generate fails for date fields
292
  with absolute years in ranges.
293
#1997774 by Valentine94, ryan.armstrong, haggins: Added Update Time Entry plugin
294
  to 1.5.2.
295
#2369691 by sanchiz: Code standarts in date.theme.
296
#1487700 by Valentine94, Jorrit, El Alemaño | casey: Added Views date pager,
297
  option to skip empty pages.
298
#1878970 by Elijah Lynn, Valentine94: Fixed Entering 4 digit year manually.
299
  Extra spacing at beginning/end is not trimmed, results in validation error.
300
#2279831 by itarato: Fixed Date field validation breaks if it's coming from a
301
  Panels visibility rule.
302
#1467712 by ankur_novatree, anrikun, jmonkfish, fledev, MustangGB, DuaelFr,
303
  jibran, l0coful: Added Make it possible to disable fieldset for date field.
304
#2026811 by kala4ek, forgenator: Fixed Views argument in contextual filter
305
  doesn't have all granularity options.
306
#2367595 by jbubik: Fixed 'r' formatter produces RFC2822-incompliant results in
307
  non-English environment.
308
#2361671 by mfernea: Fixed Notice returned in
309
  date_default_formatter_settings_summary when using custom settings.
310
#1885270 by Eduardo Alvarez, mareksal, JvE | haffmans: Fixed UTC time zone
311
  handling shows UTC, not converted, date/time.
312

  
313

  
314
Date 7.x-2.9-alpha2, 2014-09-24
315
-------------------------------
316
#2309015 by msankhala, Temoor: Fixed views date field exposed filter default
317
  value not being added in $form_state['input'] when initially views loads.
318
#2323191 by guillaumev: Fixed Issue with testing.
319
#2313587 by BWPanda: Fixed Incorrect permission name.
320

  
321

  
322
Date 7.x-2.9-alpha1, 2014-07-31
323
-------------------------------
324
#2294973 by lsabug, micahw156, keesje: Fixed Date format in calendar title
325
  remains default.
326

  
327

  
328
Date 7.x-2.8, 2014-07-29
329
------------------------
330
#106713 by vijaycs85, heddn: Date Field title XSS(SA).
331
#2310123 by Temoor: Fixed Fatal error in Migrate UI by Date Migrate Example.
332
#2142277 by Temoor, lliss: Fixed Infinite Loop When Using Repeating Dates.
333
#1871136 by Temoor, funkimunky: Fixed Cannot remove migrate example content
334
  type.
335
#2261395 by minorOffense, kristofferwiklund: Fixed date_now is not respecting
336
  changes to timezone.
337
#1832400 by imot3k, balintk: Fixed "The year/month/... is missing" error message
338
  is not translatable.
339
#998076 by coredumperror, joelcollinsdc, brenk28: Fixed Problem with timezone
340
  handling (caused by date_get_timezone_db returning only UTC).
341
#1976014 by Harmageddon: Remove unnecessary   in date views pager.
342
#2198807 by stickywes: Refactor field tests to utilize DateFieldTestBase.
343
#2146461 by vijaycs85, Razia_b: Fixed Translated field's label is not used in
344
  its validation messages.
345
#1874422 by bluetegu, brockfanning, rv0: Fixed Week pager may cause incorrect
346
  "next" link on year change.
347
#2167015 by schifazl: HTML output breaks validation and accessibility.
348
#2200513 by scor: Fix encoding issues in CHANGELOG.txt.
349
#2115377 by coredumperror: Notice: Undefined index: add_microdata in
350
  theme_date_display_single().
351
#2178299 by sandykadam, joachim: Incorrect variable name in
352
  hook_views_data_alter().
353
#1431952 by Cadila, Shawn DeArmond: Date field will only set in Rules if it
354
  already has a value.
355
#355058 by Grimreaper, prunelle: Hardcoded day/month/week output format for
356
  theme_date_nav_title().
357
#1968828 by pjcdawkins: Replace field_info_fields() with field_info_field_map()
358
  for Drupal >= 7.22.
359
#2167033 by podarok, vijaycs85: Fixing tests in 2014.
360

  
361

  
362
Date 7.x-2.7, 2013-12-21
363
------------------------
364
#1691342 by Cyberwolf: Field description is displayed multiple times.
365
#1668240 by ianthomas_uk: /themes/jquery.timeentry.css is not aggregated with
366
  other CSS files.
367
#1974056 by pjcdawkins: Add a CSS class to the date repeat rule.
368
#2065749 by vijaycs85, blackdog: $class in theme_date_repeat_rrule is not used.
369
#1840008 by cr0ss, Alan D: Unlock "Date attributes" (granularity) field setting.
370
#1580032 by jmuzz, 30equals: Date values are not being saved when field is used
371
  in a nested field collection.
372
#2071629 by blackdog: #after_build wrongly added, overwrites other modules.
373
#1869962 by kaidjohnson: Date Context breaks context edit form.
374
#1571258 by David_Rothstein, ddalvi: Date and time form elements do not have
375
  accessible labels when the label position is set to 'Within' or 'None'.
376
#2130575 by kostajh: Unset() should be used with more caution in
377
  views_filter_handler_simple().inc.
378
#1826598 by eromba, jyee: 'c' and 'r' formatter causes date to be printed twice
379
  in views.
380
#1933472 by minorOffense: Added Optimize date_now() function.
381
#1248786 by kenneth.venken, dboulet: Fixed appearance of marker for required
382
  date fields.
383
#1810734 by ParisLiakos: Fixed Repeat checkboxes working reversed with updated
384
  jQuery.
385
#1844092 by dboulet, kardave, Spleshka: Fixed Untranslated strings: month, day,
386
 ...
387
#1202248 by james.williams, dawehner, mikehues, DamienMcKenna: Fixed Exported
388
  view doesn't include 'default_argument_options()' attribute.
389
#1409120 by anrikun, akamustang, marsbidon: Added Date format in views exposed
390
  filter does not respect configured format.
391
#1858112 by tomdearden: Fixed DateObject->difference not calculating correctly
392
  for future dates > 1 year away.
393
#1659466 by artkon: Fixed Date filter does not remember value in views if the
394
  identifier is something other than date_filter().
395
#1905096 by gielfeldt: Fixed Wrong usage of database API.
396
#1791804 by 5n00py: Errors on form validation if date field placed in sub-form.
397
#636208 by KarenS: Date range: Expose a single filter to select events that
398
  start before the chosen date and end after the chosen date by anrikun.
399
#2024269 by KarenS: Date popup documentation fix by RoySegall.
400
#1835184 by Steven Jones, das-peter, jwhat: Fixed date_limit_format() can have
401
  poor performance.
402
#991830 by milesw, restyler: Fixed validation errors when date_popup() date is
403
  localized.
404
#2098715 by jhodgdon: Fixed Date field not obeying widget alters for #required.
405
#1266688 by linclark, rbayliss, fago, colette: Support microdata in date fields.
406
#1863610 by maximpodorov: Fixed Invalid date formatting.
407
#2034231/#1832544 by mikeryan: Class registration for Migrate 2.5 or later.
408
#1835214 by PatchRanger: Automated tests failing - Exception thrown in Date2
409
  migration.
410
#1350604 by Alan D., johaziel: Added Diff support for Date fields.
411
#2086313 by dooug: Fixed Wrong path in date_popup() README.txt
412
#1455558 by BTMash, mediameriquat: Fixed Missing file in date_views().info
413
  causes error 500.
414
#1697322 by Alan D., ianmthomasuk, pandikamal: Fixed Call to a member function
415
  getName() on a non-object in date api.
416
By KarenS: Code cleanup, remove #prev values that were never used in repeat
417
  functionality.
418
By KarenS: Small fix needed to ensure cardinality gets set correctly if repeat
419
  option is changed in the UI.
420

  
421

  
422
Date 7.x-2.6, 2012-08-13
423
------------------------
424
#1423364 by catmat: Add file and path to hook_context_plugins().
425
#1713248 by KarenS: Remove incorrect use of date_popup() function in previous
426
  commit.
427
#1143680 by kristiaanvandeneynde: Make Date Popup widget able to accept custom
428
  settings.
429
#1596546 by applicity_sam: Make sure incorrect month name creates validation
430
  error.
431
#1432702 by KarenS: Fix some miscellaneous problems with date example dates and
432
  formats.
433
#1512464 by Liam Moreland: Allow for undefined formatter in Date upgrade
434
  handling.
435
#1659638 by bojanz: Hide install message if Drupal is not installed (i.e. in
436
  install profiles).
437
#1605158 by covenantd: Be sure value2 is initiated in Date Context handler.
438
#1355256 by barraponto, develCuy, KarenS: Set default value for date text
439
  widget increment to 1, and update existing fields.
440
#1561306 by Cyberwolf: Date pager replacement was not working correctly when
441
  used with multiple dates.
442
#1541740 by hass: Make Date requirements more easily translatable.
443
#1543524 by iamEAP: Add update hook to remove the D6 date_timezone field from
444
  users.
445
#1603640 by bevan: Don't return anything for empty date interval.
446
#1235508 by KarenS: Make sure that ISO strings with '00' in the month and/or day
447
  don't create dates for the previous month and day.
448
#1289270 by pdrake: Fixed date arguments and filters do not work with
449
  relationships.
450
#895760 by Reinette: Added RFC2447 option 'STATUS' to date_api_ical().inc.
451
#606658 by johnmunro, KarenS, Make sure ical import processes multi-day all-day
452
  events correctly.
453
#1408216 by KarenS: Need to be sure that NULL is the default state for the SQL
454
  functions.
455
#1540410 by KarenS: Update the Date Tools calendar creation wizard to use the
456
  new calendar path.
457

  
458

  
459
Date 7.x-2.5, 2012-04-19
460
------------------------
461
By KarenS: Fix nasty errors on views that have no row indexes, like the frontage
462
  view.
463

  
464

  
465
Date 7.x-2.4, 2012-04-19
466
------------------------
467
#1534342 by bass: Make name of clean pager option easier to translate.
468
By KarenS: Add a hook to alter the default date for a Date argument.
469
#1531904 by KarenS: Make sure that multiple value dates that have the delta set
470
  only display the selected value.
471
Revert Issue #1266688 by fago, This change broke Entity token support.
472

  
473

  
474
Date 7.x-2.3, 2012-04-01
475
-------------------------------
476
#1444804: Remove html placeholder on text widget.
477
#1286230: Clean up date pager documentation, it contains deprecated information.
478
#1469020: Make sure page not found is working right for dates outside the
479
  specified range.
480
#1111626: Fix some problems caused by passing in a date string with an offset.
481
#1477860: Avoid undefined index errors in date_views_select_validate().
482
#1469038: Add some clarity to the BYDAY description options and make sure a
483
  valid value is selected.
484
#1405364 by snufkin: Add display options to format_interval to match Views
485
  interval options.
486
#1266688 by linclark: Add microdata support to Date metadata.
487
#1509434 by casey: Add timezone info in hook_field_presave() instead of
488
  hook_field_insert() and hook_field_update().
489
#1509012, Fix fatal error when viewing repeat tab.
490
#1037174 by dealancer: More work to allow ajax to work on other widgets.
491
#1473592 by zabelc: Make sure migrated date with missing end date still gets
492
  imported correctly.
493
#1442718 by jastraat, bones: Make sure show end date checkbox does not display
494
  when end date is empty.
495
#1504556 by KarenS: Fix invalid access permission name in Date API configuration
496
  menu.
497
#1484458 by KarenS: Vega timepicker code was incorrectly computing the default
498
  date because of the wrong format for the value passed to it.
499
#1459668 by KarenS: Add back Remove date_field_get_sql_handler() function
500
  temporarily since Signup module is still using it. Mark it deprecated.
501
#1478296 by KarenS: Display longer abbreviations for day names in date repeat
502
  widget so they can be translated.
503
#1488662 by martin.heidegger: Make error message more easily translatable.
504
#1478848 by onelittleant: Don't set default values on new translation entities.
505
#1360672 by KarenS: Fix limit format code to remove leftover non-ascii text as
506
  well as leftover ascii text.
507
#1464280 by geerlingguy, Georgique, dealancer: Fix notice when using exposed
508
  between filter.
509
#1484640 by onelittleant: Some entities may not have base tables.
510
#1472966 by KarenS: Get rid of notice that appears for entities without repeats.
511
By KarenS: Move pager css around. Some code in Calendar and Date API belongs in
512
  Date Views.
513
By KarenS: Fix Date Popup default format which was ending up using 24 hour time
514
  no matter what format was used for short format.
515
By KarenS: Remove outdated _repeat widget name from Date Tools.
516
By KarenS: Date Tools is defaulting to creating a calendar even if Calendar
517
  module is not enabled.
518
#1472148 by arlinsandbulte: wvega jQuery time-picker doesn't show scrollbar.
519
#1392128 by kidrobot, tim.plunkett, willvincent: Fixed Repeats tab shows on
520
  nodes with non-repeating dates.
521
#1452882 by coredumperror: Fixed Date Migrate Example doesn't deregister it's
522
  migration when disabled.
523
#1452408 by reglogge: Fixed Trailing dots are removed from date formats even if
524
  they are needed for the format.
525
#1285260 by Steven Jones: Fixed 'Starting from' display option.
526
#1467244 by bluetegu: Fixed Recurring Sunday errors.
527
#1442718, Empty default values were getting populated by the code that tried to
528
  fix default values on hidden fields.
529
By KarenS: Make sure date_handler->placeholders gets initialized even for
530
  queries that don't execute so the pager won't throw an exception if the value
531
  is missing.
532

  
533

  
534
Date 7.x-2.2, 2012-02-24
535
------------------------
536
By KarenS: The iCal templates were removed and moved to the new Date iCal module
537
  (http://drupal.org/project/date_ical).
538
#1423364 by emptyvoid, Move Date context plugin into its own file.
539
#1447372 by yched, Memory friendlier version of date_repeat_field_bundles().
540
#1447140 by tim.plunkett: Remove iCal-related theme functions/files.
541
#1284170 by benjifisher, Lots of cleanup of the iCal export and its template to
542
  be sure all day items are exported correctly.
543
#1346424, The calendar title got left out of the latest ical template changes.
544
By KarenS: Add more information to the date_views_base_tables() function about
545
  why we can't use the entity type from views_fetch_data().
546
By KarenS: Additional handling is needed so that revisions are handled correctly
547
  in Views.
548
By KarenS: Remove date_field_get_sql_handler() function which isn't being used
549
  anywhere.
550
By KarenS: Rework the Date Views hooks that queue up the right fields and base
551
  tables so they work better across all types of entities.
552
By KarenS: Fix the hooks for file tables, it is file_managed, not files.
553
By KarenS: Add a helper function to map entity types to Views base tables to
554
  make it easier to know what type of entity is being used on a view.
555
By KarenS: Add status information to Date help screen, hide the non-working
556
  change tab on the Date Tools screen, and remove some code that goes to the
557
  calendar module from Date Tools.
558

  
559

  
560
Date 7.x-2.1, 2012-02-14
561
------------------------
562
#1437242 by zerbash, Remove extraneous leading slashes in module_load_include().
563
#1436722 by hefox: Fixed Undefined variable $form_set_error() used as function.
564
#1250626 by Gábor Hojtsy, B-Prod, hefox: Added start date and end date labels.
565
#1253482, Make sure $argument->is_default gets reset by the Date pager when
566
  altering results.
567
By KarenS: Adjust Date Tools to work with changes to use Views templates to
568
  create calendars.
569
#1398584 by dhalbert and KarneS, Make sure groupby times is initialized.
570
#1394248 by KarenS: Make sure all date parts are selected when using an exposed
571
  select filter.
572
#1425774 by sgabe: Fix error in exposed filter, array_filter() -- first argument
573
  should be an array in date_select_input_date().
574
#1432992 by bart.hanssens: Fix typo in php documentation.
575
#323852 by tim.plunkett and arlinsandbulte, Dropdowns shouldn't include a blank
576
  option when required.
577
#323852 by KarenS: Validation was broken for unlimited value select widgets with
578
  required dates, they were incorrectly getting their end dates cleared out.
579
#1424656 by tim.plunkett: Unify signature and alters of #process callbacks.
580
#1408014 by dasjo: We no longer need the $error_element value to display errors
581
  properly, second follow-up.
582
#1299030 by Vincent B: Ensure that 'To Date' is properly marked when required.
583

  
584

  
585
Date 7.x-2.0-rc2, 2012-02-01
586
----------------------------
587
New Features/Major Changes:
588
#1358790 by tim.plunkett and redndahead: Store date objects in field_load to
589
  speed up processing, with a field setting option to control it.
590

  
591
Bugfixes:
592
#1423598 by KarenS: Found a way to flag items that are new so we know when to
593
  add default values.
594
By KarenS: Made some fixes to find and test the right entities when checking
595
  whether to use default values. More work is needed.
596
#1422600 by KarenS: Make sure end date cannot cause validation errors when show
597
  end date checkbox is not checked.
598
#1417872 by KarenS: Remove code to compute missing date parts from empty values
599
  now that the new validation prevents that from working.
600
#1417872 by KarenS: Make sure empty year field is validated in the same way
601
  other date parts are validated.
602
By KarenS: Alter date field test to test with a complete end date instead of
603
  using empty elements.
604
By KarenS: Fix broken logic in repeat additions.
605
By KarenS: Fix test broken by date repeat clean up.
606
#1419106 by hanoii: Added more info to hook_date_text_process_alter().
607
#1209026 by KarenS: When date validation fails, Date Popup value is getting
608
  cleared.
609
#1017216 by tim.plunkett, arlinsandbulte: Added custom date format without time
610
  shows 'all day'.
611
#1408014 by dasjo: We no longer need the $error_element value to display errors
612
  properly.
613
#554546 by master-of-magic: Fix Timezone list translation
614
#1411038 by jhodgdon: Fixed Date formatting is not obeying granularity.
615
#1359464 by KarenS: Make sure that default values on hidden elements have the
616
  same construct as loaded values to avoid errors.
617
#1399744 by tim.plunkett: Rework the way filter groups are used to be sure the
618
  Date filter group does not clobber the Views filter group.
619
#1411862 by KarenS: Move the date_views_fields() function into date_view.module
620
  to be sure it is always available.
621
#1380350 by KarenS: Rework SQL query handling to pass in a comparison date for
622
  computing offsets to better handle dates affected by DST adjustments.
623
#1359464 by KarenS: Temporary fix for broken handling of repeating dates on
624
  users with a TODO to figure out where it's coming from.
625
#1404494 by byrond: Make sure hidden formatters don't get switched to
626
  date_default in update hook.
627
#1386012 by KarenS: Order weekdays in Date Repeat form to match the site first
628
  day of week settings.
629
#1376476 by pbfleetwood: Add commas to default formatting of week and day
630
  headers.
631
#1408430 by KarenS: Views pagination with exposed, unset, filters, results in
632
  invalid default values. Treat them as empty input.
633
#1408996 by KarenS: Exposed Date Popup widget with time not correctly
634
  initialized.
635
#1271726 by KarenS: Text widgets in exposed filters used with pagers produce
636
  unexpected results.
637
#1096000 by KarenS: Custom date formats not working right.
638
#1405364 by KarenS: Format interval settings were getting overridden by missing
639
  break.
640
#1387890 by KarenS: Make sure disabled fields are shown and retain their
641
  original values.
642
#1402232 by timplunkett: Switch 'Implementation of' to 'Implements'
643
#1402236 by timplunkett: All functions should be prefixed with your module name
644
  to avoid name clashes
645
#1402238 by timplumkett: Remove references to CCK
646
#1011624 by KarenS: Filters and arguments were not always using the right base
647
  table to select field options, causing 'column missing' errors.
648
#1397822 by KarenS: Fix 'Undefined index: field' error on line 207 of
649
  date_views_filter_handler_simple.inc.
650
#1396536 by KarenS: Repeating fields weren't getting created with Devel Generate
651
  because of the change in widgets. Add new hooks so Date Repeat Field can add
652
    the repeats.
653
#1397126 by arlinsandbulte: Fix broken tests.
654
#1397158 by KarenS: The default value for the end date was using the wrong
655
  timezone setting.
656
#1392128 by kidrobot, tim.plunkett: Don't show repeat tab unless the date is
657
  repeating.
658
#1397126 by KarenS: Add Date API section to administration menu and consolidate
659
  Date Popup and Date Tools settings there.
660
By KarenS: Follow up to Issue #1302052 by benjifisher, More clean up of ical
661
  line endings.
662
#1388174 by travist: Remove redundant use of date_default_timezone().
663
#1388586 by Moloc: Don't use check_plain() on system messages with links.
664
#1302052 by benjifisher, penguin25, helmo: Fix linespace ending problems in ical
665
  files.
666
#1357216: The Date Views field list was including the Date Views filter itself,
667
  creating errors about missing node.date_filter values.
668
#1259870: Reinstate the test for a missing date argument for the pager.
669
By KarenS: The new option to hide the add_delta for simple fields needs to be
670
  adjusted to work right where there is no field.
671
By KarenS: Tweak the all day formula to check for 59:59 even for items that use
672
  increments, to help fix problems when the calendar creates all day values.
673
By KarenS: Our test for whether this is a Date argument or filter needs to
674
  include a check that the field was actually processed by Date Views. Some
675
    dates are not.
676
By KarenS: Revert the change to 7.8. It breaks the modules page.
677
#1379172 by deviantpixel: Note that the Date Repeat form uses a function that
678
  was re-named in 7.8.
679
By KarenS: Store the locale format in a static cache to avoid re-computing it
680
  dozens of times on calendar views.
681
By KarenS: Sheesh. Fix syntax error in api.date.php.
682

  
683

  
684
Date 7.x-2.0-rc1, 2011-12-20
685
----------------------------
686
The Date Browser has been removed. Please use the Date Pager instead. If you
687
have existing views using the Date Browser the navigation will just disappear
688
from them. If you add a Date Pager to the view you should get it back. Then
689
delete the Date Browser attachment from the view, since it doesn't do anything
690
any more.
691

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

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

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

  
706
New Features/Major Changes:
707
#1229378 by ksenzee: Sync the end date with the start date on new dates using
708
  select widgets.
709
#1236216 by KarenS: Move the repeating date integration out of the Date module
710
  and into a separate, Date Repeat Field module.
711
#874322 by KarenS: The All Day functionality has been moved into a separate
712
  module and hooks were added to make it easier for other modules to inject
713
  steps into date processing.
714
#1267046 by KarenS: Include the UNTIL date in repeating results.
715
#1354606 by temaruk: Rework the repeating date UI to make it more user-friendly.
716
#1362654 by KarenS: Remove Advanced Help integration, it needs a total rewrite.
717
#1357362 by KarenS: Remove Date Browser, use Date Pager instead.
718
#1354606 by KarenS: Make sure COUNT option without UNTIL date can be handled
719
  correctly by repeating date computations.
191 720

  
192 721
Bugfixes
193

  
194
- Issue #1423598, Found a way to flag items that are new so we know when to add default values.
195
- Made some fixes to find and test the right entities when checking whether to use default values. More work is needed.
196
- Issue #1422600, Make sure end date cannot cause validation errors when show end date checkbox is not checked.
197
- Issue #1417872, Remove code to compute missing date parts from empty values now that the new validation prevents that from working.
198
- Issue #1417872, Make sure empty year field is validated in the same way other date parts are validated.
199
- Alter date field test to test with a complete end date instead of using empty elements.
200
- Fix broken logic in repeat additions.
201
- Fix test broken by date repeat clean up.
202
- Issue #1419106 by hanoii: Added more info to hook_date_text_process_alter().
203
- Issue #1209026, When date validation fails, Date Popup value is getting cleared.
204
- Issue #1017216 by tim.plunkett, arlinsandbulte: Added custom date format without time shows 'all day'.
205
- Issue #1408014 by dasjo, We no longer need the $error_element value to display errors properly.
206
- Issue #554546 by master-of-magic: Fix Timezone list translation
207
- Issue #1411038 by jhodgdon: Fixed Date formatting is not obeying granularity.
208
- Issue #1359464, Make sure that default values on hidden elements have the same construct as loaded values to avoid errors.
209
- 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.
210
- Issue #1411862, Move the date_views_fields() function into date_view.module to be sure it is always available.
211
- Issue #1380350, Rework SQL query handling to pass in a comparison date for computing offsets to better handle dates affected by DST adjustments.
212
- Issue #1359464, Temporary fix for broken handling of repeating dates on users with a TODO to figure out where it's coming from.
213
- Issue #1404494 by byrond, Make sure hidden formatters don't get switched to date_default in update hook.
214
- Issue #1386012, Order weekdays in Date Repeat form to match the site first day of week settings.
215
- Issue #1376476 by pbfleetwood, Add commas to default formatting of week and day headers.
216
- Issue #1408430, Views pagination with exposed, unset, filters, results in invalid default values. Treat them as empty input.
217
- Issue #1408996, Exposed Date Popup widget with time not correctly initialized.
218
- Issue #1271726, Text widgets in exposed filters used with pagers produce unexpected results.
219
- Issue #1096000, Custom date formats not working right.
220
- Issue #1405364, Format interval settings were getting overridden by missing break.
221
- Issue #1387890, Make sure disabled fields are shown and retain their original values.
222
- Issue #1402232 by timplunkett, Switch 'Implementation of' to 'Implements'
223
- Issue #1402236 by timplunkett, All functions should be prefixed with your module name to avoid name clashes
224
- Issue #1402238 by timplumkett, Remove references to CCK
225
- Issue #1011624, Filters and arguments were not always using the right base table to select field options, causing 'column missing' errors.
226
- Issue #1397822, Fix 'Undefined index: field' error on line 207 of date_views_filter_handler_simple.inc.
227
- 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.
228
- Issue #1397126 follow-up by arlinsandbulte, Fix broken tests.
229
- Issue #1397158, The default value for the end date was using the wrong timezone setting.
230
- Issue #1392128 by kidrobot and tim.plunkett, Don't show repeat tab unless the date is repeating.
231
- Issue #1397126, Add Date API section to administration menu and consolidate Date Popup and Date Tools settings there.
232
- Follow up to Issue #1302052 by benjifisher, More clean up of ical line endings.
233
- Issue #1388174 by travist, Remove redundant use of date_default_timezone().
234
- Issue #1388586 by Moloc, Don't use check_plain() on system messages with links.
235
- Issue #1302052 by benjifisher, penguin25, and helmo, Fix linespace ending problems in ical files.
236
- Issue #1357216, The Date Views field list was including the Date Views filter itself, creating errors about missing node.date_filter values.
237
- Issue #1259870, Reinstate the test for a missing date argument for the pager.
238
- The new option to hide the add_delta for simple fields needs to be adjusted to work right where there is no field.
239
- 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.
240
- 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.
241
- Revert the change to 7.8. It breaks the modules page.
242
- Issue #1379172 by deviantpixel, Note that the Date Repeat form uses a function that was re-named in 7.8.
243
- Store the locale format in a static cache to avoid re-computing it dozens of times on calendar views.
244
- Sheesh. Fix syntax error in api.date.php.
245

  
246
======================
247
Version 7.x-2.0-rc1
248
======================
249

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

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

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

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

  
266
New Features/Major Changes
267

  
268
- Issue #1229378 by ksenzee, Sync the end date with the start date on new dates using select widgets.
269
- Issue #1236216, Move the repeating date integration out of the Date module and into a separate, Date Repeat Field module.
270
- 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.
271
- Issue #1267046, Include the UNTIL date in repeating results..
272
- Issue #1354606 by temaruk, Rework the repeating date UI to make it more user-friendly.
273
- Issue #1362654, Remove Advanced Help integration, it needs a total rewrite.
274
- Issue #1357362, Remove Date Browser, use Date Pager instead.
275
- Issue #1354606, Make sure COUNT option without UNTIL date can be handled correctly by repeating date computations.
276

  
277
Bugfixes
278

  
279
- Fix to new default date handling, the default date has to set a date in the database timezone, not the display timezone.
280
- Issue #1245106 by Gábor Hojtsy, Hide the option to add the delta into the view for single value fields.
281
- Issue #1370876, Make sure new Date All Day code does not try to set the popup values if Date Popup is disabled.
282
- Issue #874322, Add back the date_field_all_day() function to avoid breaking other modules that are using it.
283
- Fix Date text placeholder to display a formatted date instead of a format. Follow up to Date repeat UI changes.
284
- Issue #1248520 by fearlsgroove, Use attribute selector on all day and end day checkboxes.
285
- Issue #952446 and #1031690, Select dates with only year and month were not working.
286
- Issue #1292152 by pfrenssen, Remove debug functions.
287
- Issue #1338976 by Josh Benner, Adjust iCal unwrap to allow for leading spaces, per standard.
288
- Issue #1352486 by d.novikov, Rework date SQL formatting for Microsoft SQL.
289
- Issue #1266536, Keep timezone adjustments from altering the values for repeating date EXCEPTIONS and ADDITIONS.
290
- Issue #1353488, Some repeating date calculations using PHP 5.3.6+ were not computing correctly.
291
- Issue #1364026, Fix link to documentation, also move help to Date API module.
292
- Issue #1276270, Fix fatal error when using repeat date on user.
293
- 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.
294
- Issue #1363460, Make sure widget dates do not end up with the current date when they should be empty.
295
- Issue #1353488, Attempt to fix problem using date_date_set() in PHP 5.3.6+.
296
- Date Migrate tests needed some fixes to conform to latest code.
297
- 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.
298
- Issue #1353790, Make sure Date Popup properly translates the default value if it includes month or day names.
299
- Issue #1217796, Make sure that All Day formatting works correctly even if the All Day label is empty.
300
- The repeat description was lost by a recent change to the theme that sent the element through the theme twice.
301
- Remove date_get_nested_elements() function. Not being used and I don't want other code to start expecting it.
302
- 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.
303
- Issue #1349510, Make sure default values get populated before processing so they still get set on hidden fields.
304

  
305
======================
306
Version 7.x-2.0-alpha5
307
======================
308

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

  
314
New Features/UX Changes/API Changes
315

  
316
- Issue #1304056 by DamienMcKenna, Add option to date_difference to indicate direction of difference.
317
- Issue #1238660, Add custom format option for the date format used in summary arguments.
318
- Issue #1038482 by somanyfish, iCal import failing due to colon instead of semi-colon
319
- Issue #1252952 by eosrei: Make "all day" checkbox configurable on a per field instance basis.
320
- Issue #1266144 by arlinsandbulte: Clarify Default End Date Setting
321
- Issue #1261478 by stevector and KarenS, Reconfigure the back/next buttons into item lists so Views ajax pager works right.
322
- Issue #1262960, Add a new module to work with the Context module to set a condition based on the value of a date field.
323
- 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.
324

  
325
Bugfixes
326

  
327
- 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.
328
- Issue #1276622 by ArtistConk, Make sure Except date contains no default value.
329
- Issue #1153766 by fago, More work on the entity property setters and getters.
330
- Issue #1331214, Make sure Date Migrate properly handles empty date values.
331
- Issue #1285224, Make sure Date Migrate works for importing repeating dates now that widgets have changed.
332
- Issue #1162290, Make sure date for example formats avoids confusing short and long month names.
333
- Re-organize handling of custom date formats.
334
- Issue #1122038, Make sure empty values are not passed to Views to be themed for repeating dates.
335
- Issue #1101284 by pfournier, Expand regex for Month names to catch more possible variations.
336
- Issue #1343406 by slashrsm, add back the caching of the views fields list.
337
- Issue #1302374 by miro_dietiker, Account for an inconsistency in core handling of non-existant date formats.
338
- Issue #1344014 by James Sharpe, Get rid of 'Repeats every 0 days' description.
339
- Issue #1302212, Change the way default dates using custom code are created.
340
- Issue #1292898, Check for all day checkbox in the basic date element validation so empty time for newly added elements still passes validation.
341
- Issue #1252952 follow up, Move checkbox setting to the same spot where time is set, and don't show option on dates without time.
342
- Issue #1335818 by joelpitter, Don't create a date for empty values in the date getters and setters.
343
- Issue #1271726, Keep default_value out of exposed form so it won't show up in pager.
344
- Issue #1017866, Fix miscellaneous problems where filter/argument incorrectly do timezone adjustment.
345
- Issue #1103032, Attempt to add setters to date entity metadata so Rules can use them.
346
- Issue #1153766, Adapt metadata functions to the pattern in the current Entity code, add $info to the getters.
347
- Issue #1278876 by basicmagic.net, Typo in date.css
348
- Issue #752550 by Fonant, Week number gets printed twice
349
- Issue #1052586 by jpsolero, Problem with Date API when using Calendar with argument set to "Week" granularity and "current date" default argument
350
- Issue #1266144, End date same as start date default not being respected.
351
- Issue #1239934 by casey, Fix javascript exception in date_year_range.js.
352
- Issue #1310558, Don't show extra label on exposed date filter.
353
- Fix bug in Date Popup that still uses the current date when the default date is empty.
354
- Issue #1335578 by aaronbauman, Make it possible to pass in +/- 1000 years to years back/forward.
355
- Issue #1292516 by mcarbone, Fix Uninitialized string offset in Date Migrate.
356
- Issue #1084980 by jwilson3, Set default value for $granularity to be array in date_formatter_format.
357
- Issue #1227350 by grendzy, Summary view should not be calling date_forbid().
358
- Issue #1286570, Fix undefined index error caused by using a remember value without checking if it exists.
359
- Issue #1337440 by phoenix, Fix syntax error in vcalendar tpl file.
360
- Issue #1103032, Add plain date formatter and set it to be the default token formatter.
361
- Issue #1177684 by tim.plunket, Fix typo in last commit.
362
- Issue #1177684, Wrong translation of short month name.
363
- Issue #1201342 by colinlee and alexprv, Comment out SQLSVR timezone adjustment until it gets fixed properly.
364
- Issue #1308274 by sneyerst, SQL Server DATEPART function cannot accept composed datetime formats.
365
- Issue #1308266 by sneyerst, Fix arithmetic overflow in SQLSVR.
366
- Issue #1333104 by tim.plunkett, Check that $field['settings'] exists in date_is_repeat_field().
367
- Error message for years back and forward doesn't match new labels, should be Starting year and Ending year.
368
- Issue #1179715, Switch drupal_array_get_nested_value() to use 'values' instead of 'input', where it makes sense, and simplify some of this code.
369
- Issue #1179715, Create a helper function for testing hidden/disabled dates and test each date element and validator to skip processing in that case.
370
- Issue #1179715, When hidden by #access=FALSE, repeating date fields were getting removed and not replaced.
371
- Issue #1179715, By pass date repeat widget processing and validation when element is hidden from user.
372
- 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.
373
- Issue #1338194, Logic for creating end date wasn't taking into account the possibility that a field might have no value2.
374
- Issue #1179715, Default value callback for the timezone widget was not returning an array.
375
- Issue #1179716, Remove value_callback for date_repeat and date_combo forms, the default behavior works fine.
376
- Issue #1178716 by das-peter, Use drupal_array_get_nested_value() in Date Repeat instead of trying to find it manually.
377
- Issue #1178716 by das-peter and KarenS, Tweak the date repeat widget to identify empty input when used on nodes with translation.
378
- Issue #1178716 by das-peter and KarenS, Fix date repeat form values that are not arrays when hidden on a node that has translation.
379
- Issue #1178176 by das-peter, Fix date_combo_value_callback to return NULL to avoid data lost on untranslatable dates used with Entity Translation.
380
- Date Context module was making incorrect assumptions about the $language of the field.
381
- Issue #1237974, Schema module wants the datetime column to be lower case.
382
- Issue #1233084, fix a few places that were wrapping $instance['label'] with t().
383
- Issue #1188380 by Xen and jherencia, use #title instead of field['label'] in date display because that has the i18n translation.
384
- Issue #1330768 by das-peter, remove whitespace.
385
- Tweak date_pager_url to allow a way to create non-absolute urls.
386
- Make sure deleted displays won't create errors in Views by returning FALSE in date_forbid() if there is no date argument.
387
- Issue #1257830, Beef up the logic when creating the date repeat tabs to work for more kinds of entities.
388
- Issue #1260962, Repeating date fields should save the date even if there is no repeat information.
389
- Issue #1241836 by kzoli, Fix undefined cardinality indexes.
390
- Issue #1233722, Fix undefined index notice in pager when other filters are used.
391

  
392
======================
393
Version 7.x-2.0-alpha4
394
======================
395

  
722
By KarenS: Fix to new default date handling, the default date has to set a date
723
  in the database timezone, not the display timezone.
724
#1245106 by Gábor Hojtsy, Hide the option to add the delta into the view for
725
  single value fields.
726
#1370876 by KarenS: Make sure new Date All Day code does not try to set the
727
  popup values if Date Popup is disabled.
728
#874322 by KarenS: Add back the date_field_all_day() function to avoid breaking
729
  other modules that are using it.
730
By KarenS: Fix Date text placeholder to display a formatted date instead of a
731
  format. Follow up to Date repeat UI changes.
732
#1248520 by fearlsgroove, Use attribute selector on all day and end day
733
  checkboxes.
734
#952446 and #1031690 by KarenS: Select dates with only year and month were not
735
  working.
736
#1292152 by pfrenssen, Remove debug functions.
737
#1338976 by Josh Benner, Adjust iCal unwrap to allow for leading spaces, per
738
  standard.
739
#1352486 by d.novikov, Rework date SQL formatting for Microsoft SQL.
740
#1266536 by KarenS: Keep timezone adjustments from altering the values for
741
  repeating date EXCEPTIONS and ADDITIONS.
742
#1353488 by KarenS: Some repeating date calculations using PHP 5.3.6+ were not
743
  computing correctly.
744
#1364026 by KarenS: Fix link to documentation, also move help to Date API
745
  module.
746
#1276270 by KarenS: Fix fatal error when using repeat date on user.
747
#1362758 by KarenS: Add empty file for the date_plugin_display_attachment.inc
748
  file that was removed, to avoid fatal errors if it is missing on a site that
749
  formerly used it.
750
#1363460 by KarenS: Make sure widget dates do not end up with the current date
751
  when they should be empty.
752
#1353488 by KarenS: Attempt to fix problem using date_date_set() in PHP 5.3.6+.
753
By KarenS: Date Migrate tests needed some fixes to conform to latest code.
754
#1353790 by KarenS: Hide missing index notice if the value in the Date Popup
755
  does not match the expected value, it will still get trapped as a validation
756
  error.
757
#1353790 by KarenS: Make sure Date Popup properly translates the default value
758
  if it includes month or day names.
759
#1217796 by KarenS: Make sure that All Day formatting works correctly even if
760
  the All Day label is empty.
761
By KarenS: The repeat description was lost by a recent change to the theme that
762
  sent the element through the theme twice.
763
By KarenS: Remove date_get_nested_elements() function. Not being used and I
764
  don't want other code to start expecting it.
765
#1266144 by KarenS: The end date should get set to blank if it is optional and
766
  matches the start date, but only if it is not populated by default values.
767
#1349510 by KarenS: Make sure default values get populated before processing so
768
  they still get set on hidden fields.
769

  
770

  
771
Date 7.x-2.0-alpha5, 2011-11-29
772
-------------------------------
773
The date repeat widgets have been removed to keep users from trying to change
774
repeating dates into non-repeating dates. There are now just three widgets, Date
775
Select, Date Text, and Date Popup. Whether or not a date is a repeating date is
776
now controlled by a field setting.
777

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

  
795
Bugfixes:
796
#1280658 and follow up to Issue #1238660 by KarenS, tockliasteroid: Rework the
797
  format control over the summary title and apply it to the title() callback.
798
#1276622 by ArtistConk: Make sure Except date contains no default value.
799
#1153766 by fago: More work on the entity property setters and getters.
800
#1331214 by KarenS: Make sure Date Migrate properly handles empty date values.
801
#1285224 by KarenS: Make sure Date Migrate works for importing repeating dates
802
  now that widgets have changed.
803
#1162290 by KarenS: Make sure date for example formats avoids confusing short
804
  and long month names.
805
By KarenS: Re-organize handling of custom date formats.
806
#1122038 by KarenS: Make sure empty values are not passed to Views to be themed
807
  for repeating dates.
808
#1101284 by pfournier: Expand regex for Month names to catch more possible
809
  variations.
810
#1343406 by slashrsm: Add back the caching of the views fields list.
811
#1302374 by miro_dietiker: Account for an inconsistency in core handling of
812
  non-existant date formats.
813
#1344014 by James Sharpe: Get rid of 'Repeats every 0 days' description.
814
#1302212 by KarenS: Change the way default dates using custom code are created.
815
#1292898 by KarenS: Check for all day checkbox in the basic date element
816
  validation so empty time for newly added elements still passes validation.
817
#1252952 by KarenS: Follow up, Move checkbox setting to the same spot where time
818
  is set, and don't show option on dates without time.
819
#1335818 by joelpitter: Don't create a date for empty values in the date getters
820
  and setters.
821
#1271726 by KarenS: Keep default_value out of exposed form so it won't show up
822
  in pager.
823
#1017866 by KarenS: Fix miscellaneous problems where filter/argument incorrectly
824
  do timezone adjustment.
825
#1103032 by KarenS: Attempt to add setters to date entity metadata so Rules can
826
  use them.
827
#1153766 by KarenS: Adapt metadata functions to the pattern in the current
828
  Entity code, add $info to the getters.
829
#1278876 by basicmagic.net: Typo in date.css.
830
#752550 by Fonant: Week number gets printed twice.
831
#1052586 by jpsolero: Problem with Date API when using Calendar with argument
832
  set to "Week" granularity and "current date" default argument
833
#1266144 by KarenS: End date same as start date default not being respected.
834
#1239934 by casey: Fix javascript exception in date_year_range.js.
835
#1310558 by KarenS: Don't show extra label on exposed date filter.
836
By KarenS: Fix bug in Date Popup that still uses the current date when the
837
  default date is empty.
838
#1335578 by aaronbauman: Make it possible to pass in +/- 1000 years to years
839
  back/forward.
840
#1292516 by mcarbone: Fix Uninitialized string offset in Date Migrate.
841
#1084980 by jwilson3: Set default value for $granularity to be array in
842
  date_formatter_format.
843
#1227350 by grendzy: Summary view should not be calling date_forbid().
844
#1286570 by KarenS: Fix undefined index error caused by using a remember value
845
  without checking if it exists.
846
#1337440 by phoenix: Fix syntax error in vcalendar tpl file.
847
#1103032 by KarenS: Add plain date formatter and set it to be the default token
848
  formatter.
849
#1177684 by tim.plunket: Fix typo in last commit.
850
#1177684 by KarenS: Wrong translation of short month name.
851
#1201342 by colinlee, alexprv: Comment out SQLSVR timezone adjustment until it
852
  gets fixed properly.
853
#1308274 by sneyerst: SQL Server DATEPART function cannot accept composed
854
  datetime formats.
855
#1308266 by sneyerst: Fix arithmetic overflow in SQLSVR.
856
#1333104 by tim.plunkett: Check that $field['settings'] exists in
857
  date_is_repeat_field().
858
By KarenS: Error message for years back and forward doesn't match new labels,
859
  should be Starting year and Ending year.
860
#1179715 by KarenS: Switch drupal_array_get_nested_value() to use 'values'
861
  instead of 'input', where it makes sense, and simplify some of this code.
862
#1179715 by KarenS: Create a helper function for testing hidden/disabled dates
863
  and test each date element and validator to skip processing in that case.
864
#1179715 by KarenS: When hidden by #access=FALSE, repeating date fields were
865
  getting removed and not replaced.
866
#1179715 by KarenS: By pass date repeat widget processing and validation when
867
  element is hidden from user.
868
#1179715 by KarenS: Don't do timezone adjustments in the widget, wait for
869
  #process so we can skip it when the date field has been hidden by #access.
870
#1338194 by KarenS: Logic for creating end date wasn't taking into account the
871
  possibility that a field might have no value2.
872
#1179715 by KarenS: Default value callback for the timezone widget was not
873
  returning an array.
874
#1179716 by KarenS: Remove value_callback for date_repeat and date_combo forms,
875
  the default behavior works fine.
876
#1178716 by das-peter: Use drupal_array_get_nested_value() in Date Repeat
877
  instead of trying to find it manually.
878
#1178716 by das-peter, KarenS: Tweak the date repeat widget to identify empty
879
  input when used on nodes with translation.
880
#1178716 by das-peter, KarenS: Fix date repeat form values that are not arrays
881
  when hidden on a node that has translation.
882
#1178176 by das-peter: Fix date_combo_value_callback to return NULL to avoid
883
  data lost on untranslatable dates used with Entity Translation.
884
By KarenS: Date Context module was making incorrect assumptions about the
885
  $language of the field.
886
#1237974 by KarenS: Schema module wants the datetime column to be lower case.
887
#1233084 by KarenS: fix a few places that were wrapping $instance['label'] with
888
  t().
889
#1188380 by Xen, jherencia: use #title instead of field['label'] in date display
890
  because that has the i18n translation.
891
#1330768 by das-peter: remove whitespace.
892
By KarenS: Tweak date_pager_url to allow a way to create non-absolute urls.
893
By KarenS: Make sure deleted displays won't create errors in Views by returning
894
  FALSE in date_forbid() if there is no date argument.
895
#1257830 by KarenS: Beef up the logic when creating the date repeat tabs to work
896
  for more kinds of entities.
897
#1260962 by KarenS: Repeating date fields should save the date even if there is
898
  no repeat information.
899
#1241836 by kzoli: Fix undefined cardinality indexes.
900
#1233722 by KarenS: Fix undefined index notice in pager when other filters are
901
  used.
902

  
903

  
904
Date 7.x-2.0-alpha4, 2011-08-23
905
-------------------------------
396 906
Notes to themers:
397

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

  
409
New Features/UX Improvements
410

  
411
- Issue #1249724 by KarenS, Gábor Hojtsy, David_Rothstein, Improve usability of date and time input configuration.
412
- Issue #1250784 by David_Rothstein, Add user-friendly labels for start and end date values in Views.
413
- Issue #742146, Add option to remove X-WR-CALNAME if VEVENT is not a feed.
414
- Add option to change method from PUBLISH to REQUEST in VCALENDAR.
415
- Issue #334435, Add a theme function for the 'Date' and 'Time' labels in the Popup widget.
416
- Issue #1239956 by David_Rothstein, Change the default separation between from and to dates to use 'to' instead of a hyphen.
417
- Issue #1240628 by David_Rothstein, Make the date increment default to 15 instead of 1.
418
- Issue #1249724 by David_Rothstein: Improve usability of date and time input configuration
419
- Issue #1177198 by tim.plunkett: Allow CTools to process #dependency for date elements.
420
- Issue #1245562 by David_Rothstein, Rename the default date display format to something friendlier
421
- Issue #1239934 by David_Rothstein and Gábor Hojtsy, Reuse the "years back and forward" dropdown widget on the Views filter settings page.
422
- Issue #1239228 by Gábor Hojtsy, Date Views filter form UI improvements, clarify the way absolute and relative dates work.
423
- Issue #233047 by ksenzee and David_Rothstein, Add the Vegas jQuery timepicker as a new time selector option.
424
- Issue #1145976 by tim.plunkett and KarenS, Add 'is date' identifier to all date handlers.
425
- Issue #1234140 by arlinsundbulte, Change terminology in user-facing text from 'From/To Date' to 'Start/End Date'.
426
- Issue #1233948 by KarenS, Add 'All Day' checkbox to hide/show the time parts of the date form. If All day is chosen, any time is replaced with 00:00:00 when the form is submitted.
427
- Issue #1233612 by KarenS, Add 'Collect end date' checkbox for dates with optional end dates to hide/show the end date.
428
- Issue #821200 by scor and KarenS, Add RDF support to the date field.
429
- Issue #1211744 by EclipseGC and KarenS, Add a Date pager plugin that is designed to add paging in conjunction with a Date argument.
430
- Issue #1180612 by mikeryan, Add support for Migrate module.
431
- Issue #1198320 by ksenzee, David_Rothstein, Noyz: Make UI improvements to field settings page.
432
- Issue #1215738 by ksenzee, Make granularity settings checkboxes horizontal.
433
- Issue #1215686 by ksenzee, Change name of date field types to be more intuitive.
434
- Issue #1216996 by ksenzee, Change the years back/forward setting into two drop down boxes.
435
- Issue #1222468 by ksenzee, Hide timezone options when using granularity without time.
436
- Issue #1229388 by ksenzee, Hide formatter from/to choices on fields without multiple values.
437

  
438
Removed deprecated functions
439

  
440
- Removed date_handler_fields(), only applicable to D6 code.
441
- Removed date_views_real_url() and date_views_page_url(), used by older calendar version.
442
- Remove unused date_handler_field_multiple.
443

  
444
Tests
445

  
446
- Issue #1251592 by David_Rothstein, Set reasonable default values if date formats have not been configured, and add tests for that.
447
- Issue #1242764 Add tests for every possible combination of field type, timezone handling, and granularity.
448
- More work on tests, add a foreach loop to run through all field_type/widget_type combinations.
449
- Rework tests to use a base class rather than copying the same functions everywhere.
450
- Issue #1209408 Make sure date_repeat_calc() returns empty array for FREQ=NONE and INTERVAL=0, also add a test for that.
451
- Issue #1161006 by justinrandall, Add tests to check that dates that should have time but do not are correctly caught in validation.
452

  
453
Bugfixes
454

  
455
- Issue #1256406 by q0rban, use variable_get() in hook_requirments().
456
- Follow up to Issue #1145976, Make sure 'is date' only gets applied to the date values, not delta, timezone, etc.
457
- Issue #1238364, Make sure the Date pager doesn't throw errors if the default date is missing.
458
- Issue #1246416, Add info to the Date Popup README.txt about how to download the WVega timepicker.
459
- Issue #1253230, Package name of Date Migrate was different than the other Date components.
460
- Issue #1251592, Add installation message and system requirements warnings about missing system date settings.
461
- Issue #1250784, Don't save psuedo field settings created by the new UI in the field itself.
462
- Issue #1239228 by David_Rothstein, Always add Date Views css to View UI edit forms.
463
- Issue #1254540 by David_Rothstein, Move borders off of the wrappers so they don't appear when the dates inside them are hidden.
464
- Issue #1253248 by David_Rothstein, Move RDF attributes handling to preprocess function.
465
- Issue #1087798 by anj, Fix X-WR-CALNAME in VCALENDAR.
466
- Issue #1254582 Repeat additions need to be adjusted to use the same time as the original date.
467
- Move vcalendar and vevent templates from Date Views to Date API modules.
468
- Follow up to Issue #1250344, We don't need extra space when there is a description, only when there is not.
469
- Issue #1239228 by Gábor Hojtsy, More tweaks to filter css.
470
- Issue #1244924 by Gábor Hojtsy, Minor text improvements in date filter configuration
471
- Issue #1245556 by David_Rothstein, Date granularity description incorrectly implies that it affects the date attributes that are displayed
472
- Issue #1247444 by Gábor Hojtsy, Give a little breathing space to the date year range "other" field
473
- Issue #1250344 by jessebeach, Fix padding around date fields by adding clearfix class.
474
- Issue #1249116 by yched, Fix various glitches with D6 migration code.
475
- Issue #1243022 by fmosca and KarenS, Make sure all_day #states visibility is only set when there is a value for all_day.
476
- Issue #1236192 by loganfsmyth, Make sure #date_label_position has a default value in the Date Popup module.
477
- Issue #1246416, Test whether libraries_get_path() returns a valid path before using it.
478
- Issue #1235994, Don't display 'All Day' when using a format that has no time.
479
- Issue #1245690 by mikeryan, Migration plugin missing seconds from date formats
480
- Issue #1229406 by David Rothstein, Gábor Hojtsy, and tim.plunkett Fix broken timepicker in Chrome and Safari.
481
- Issue #1239412 by keithm, Fix validation error when #access is false.
482
- Issue #1232522, Don't alter field_ui_field_edit form except on date fields.
483
- Issue #1243842, Make sure the All Day and Show End Date flags work correctly in unlimited value fields that use ajax.
484
- Follow up to Issue #1239956, Fix tests broken by change in date separator.
485
- Issue #1241576, Fix date combo validation for all-day dates so they don't fail validation because the format is unexpected.
486
- Take the guesswork out of examining Date info for Views, add is_field flag.
487
- Follow up to Issue #874322, Date popup field needs to accept date without time for the all day flag to work.
488
- Follow up to Issue #1130814, It looks like the modification is not needed in date_repeat_set_month_day and date_repeat_set_year_day.
489
- Issue #1160132 by seanbfuller and KarenS, Exposed filter widgets were not displaying the default values.
490
- Adjust the way widgets are styled in Views exposed filters after the latest style changes for form elements.
491
- Issue #1234114 by arlinsandbulte, Add more space between checkboxes.
492
- Issue #1234090, Fix undefined variable 'all_day'.
493
- Issue #1232570 by dboulet, Remove some unneeded duplication of core clearfix and other css cleanup.
494
- Issue #1232614 by dboulet, Date css should not be setting font family.
495
- Timezone and Date Popup weren't obeying the settings for displaying the date part label.
496
- Issue #1130814 by cdracars, mikeryan, mayobutter, Fix date_modify difference between PHP 5.3.5 and 5.3.6 so both work to compute repeating dates.
497
- Issue #1017866 by KarenS and Jason89s, Make sure views argument and filter don't do timezone adjustment for dates that don't have time.
498
- Issue #1204988 by paulsheldrake, Remove IE6 code from datepicker CSS.
499
- Issue #1231864 by Damien McKenna, Clean up line endings in vevent and vcalendar tpl files.
500
- Issue #1231382 by dboulet, Clean up date css, code style fixes.
501
- Date repeat additions and exceptions need to be reworked into full, timezone-adjusted, datetime values when passing them to FAPI as default values.
502
- Issue #1223034 by c4rl, Make sure repeating date additions and exceptions work correctly when there is more than one repeating date in the same form.
503
- Issue #1229362, Date Popup module needs date_is_date() function, which should not require Date module. Move that to Date API.
504
- Issue #1227208 by ksenzee, Minor text changes.
505
- Issue #1094408, Change method of identifying Field module filters, using the name of the group is not robust enough.
506
- Issue #1227264 by gapa, Fix wrong class in date-pager.tpl.php.
507
- Issue #1207540, Summary grouping won't work right unless the formula alias doesn't match an actual field value.
508
- Issue #1227350 Summary query still needs the formula, add it back.
509
- Fix 'variables cannot be passed by reference' notice on repeats page.
510
- Issue #1222736 Fix export errors caused when previous export fix of using export plugins got broken by changes in Views.
511
- Issue #1077490 Fix notices about missing #date_flexible.
512
- Move the 'top' date pager to below the header instead of below attachment_before so you can add header text above it.
513
- The value for variable_get('date_first_day') should default to zero to match core default.
514
- Issue #1147620 by KarenS with an assist from tim.plunkett, Fix the query so it will locate dates that span days or months by checking the intersection of the date range and the query range. Also add an option to the argument so you can do a simple query for either the from or to date when checking the whole range isn't the right solution.
515
- Issue #307274 by ksenzee, Fix broken validation for absolute value in years back/forward.
516
- Issue #1173374 by fietserwin, Remove translation of the jQuery datepicker day and month names, now handled by core.
517
- Issue #1192020 by tim.plunkett: Fixed date granularity is too fragile in date_field_all_day().
518
- Issue #1110012 Remove 'parent' items from Views plugins, no longer needed? See if this fixes the issue.
519
- Issue #1183892, Initialize $identifier in date_views_filter_handler_simple.
520
- Issue #1103290 by stickywes and ingaro, Change postgres 'FMYYYY-FMMM-FMDDTFMHH:FMMI:FMSS' to 'FMYYYY-FMMM-FMDDTFMHH24:FMMI:FMSS'.
521
- Issue #1186528 by jox, Make date field combo label translatable.
522
- Issue #1123186 by KingJoshi, Fix misnamed date_part_hour_prefix in hook_theme().
523
- Issue #1032942 by fietserwin, Rename date popup functions that are getting picked up by theme('date').
524
- Issue #1206756 More tweaks to the validation changes. They were blocking zero times and causing some test failures.
525
- Issue #1197352 Don't display language about from and to dates when there is no todate.
526
- Issue #1201288 by rafa0961, fix broken references to SQLSERVER.
527
- More work on cleaning up validation, add in some ideas from fearlsgrove about checking the granularity of the input array against the expected granularity.
528
- Issue #1161006 Dates that should have time but do not were not correctly caught in validation.
529
- Get rid of overlapping formatter functionality. There should be a default formatter with the option to choose a date format as a setting, not a formatter for each format. This was a leftover from the D6 functionality.
530
- Issue #1159404 by mikeryan, Fix incorrect call to parse an rrule in date_repeat_build_dates().
531
- Issue #1160656 by jjs, Replace missing break in date_api.sql.inc that breaks PostgreSQL.
532
- Issue #1150454, Fix undefined index notices for repeat_collapsed value.
533
- Issue #1150462, Put length limit on content type names created by Date Tools so block delta won't overflow the allowed size.
534
- Issue #1136734, When migrating date format data from D6 to D7, don't try to overwrite existing custom values.
535
- Issue #1161042 by Ollie222, Date filters using time were inconsistently formatted.
536
- Issue #1130884, Bad logic in 'between' filter SQL, should always join with AND.
537
- Issue #1139418 by ankur, Bad logic in week argument SQL, should always join with AND.
538
- Issue #1118356, Disabling the Timepicker was having no effect.
539
- Issue #408770 by vkareh, Make sure dates with #access = FALSE get passed through date_combo_element_process().
540
- Issue #1037174 by das-peter, add ajax support to date popup.
541
- Issue #1160614 by joelstein, Make sure date repeat rule gets split correctly no matter which line endings were used.
542
- Issue #1110708 by mr.baileys, Fix problem combining date filter with other exposed filters.
543
- Switch some references to $node to use $entity instead.
544
- Issue #1112206, add a dummy field to the date navigation bar query to keep it from trying to create invalid sql.
545
- Issue #1112206, $this->view->query->clear_fields() is still need for date_browser to keep Views from trying to use missing field values.
546
- Date browser only works with date_argument, should work with any argument derived from date.
547

  
548
======================
549
Version 7.x-2.0-alpha3
550
======================
551

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

  
554
======================
555
Version 7.x-2.0-alpha2
556
======================
557

  
558
- 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.
559
- Issue #1138622, preliminary pass at adding support for SQL Server.
560
- Issue #1136618 by ksenzee, Fix broken hide/show capability for date filter values.
561
- Issue #1059078 Add preliminary support for SQLite dates.
562
- Issue #1103290 by kevintheday, Use db_driver() to determine database engine.
563
- 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.
564
- Looks like Views changed ['expose']['operator'] to ['expose']['operator_id'].
565
- Issue #1115770, Make sure filters values are switched back to ISO format so time comparisons work correctly.
566
- Issue #1132916 by znerol, Fix a couple more usages of date_default_timezone_name().
567
- Issue #1131308 Don't try to do timzone conversion when there is no localzone for a field.
568
- Issue #1093222 Fix broken function to remove calendar views.
569
- Issue #820670 Add update to move D6 date format data to D7 data.
570
- Issue 1074344 Fix problem with date select widget that keeps resetting pm back to am.
571
- Issue #1001186 Make sure that a 2 digit year is flagged as an error.
572
- Issue #1117420 by threewestwinds, Make timepicker formats more useful.
573
- Issue #1126408 by thekevinday, Add more sql formats to date api.
574
- Issue #1129326 by robertom, add missing  value to element in date_combo.
575
- Issue #998220 by jamsilver and yched, fix handling of validation in date_combo. This also fixes errors when using a date in Profile 2 and Field Collections.
576
- Issue #1022592 by andypost and tim.plunkett optimize hook_form_alter into hook_form FORMID_alter.
577
- Issue 1021424 by joostvdl and wiizzard, fix context in translations to use core values.
578
- Remove extra fields from the Date field. I think the filter and argument now get the right tables joined in without that. We still need the extra fields on calendar, but now we will only add them in the calendar view.
579
- Fix some notices in vcalendar theme.
580
- Fix the mini calendar querystring.
581
- Fix logic for day argument formula.
582
- Fix logic for week argument formula.
583
- Issue #1086582 by bojanz, summary options are in a different place now, fix the method of removing the summary option on multiple-date arguments.
584
- Views renamed 'wildcard' to 'exception'.
585
- Apparently the handler->argument value is not always populated.
586
- Fix fallback value for date_group.
587
- Issue #1103032 by tim.plunkett, Remove token integration code until Token module is fixed.
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff