| 1 |
Written by: |
| 2 |
Sullivan Beck (https://github.com/SBECK-github/) |
| 3 |
Any suggestions, bug reports, or donations :-) should be sent to me. |
| 4 |
|
| 5 |
This describes the changes made to the Date::Manip module in the 6.xx |
| 6 |
series of releases. Major changes are marked with asterisks (*). |
| 7 |
Backward incompatible changes are marked with an exclamation mark (!). |
| 8 |
|
| 9 |
For changes in older (5.xx releases), refer to the following documents: |
| 10 |
Date::Manip::Changes5 |
| 11 |
Date::Manip::Changes5to6 |
| 12 |
|
| 13 |
Also, the Changes document is automatically generated from the document: |
| 14 |
Date::Manip::Changes6 |
| 15 |
and that document should be considered the canonical source for all change |
| 16 |
related information. |
| 17 |
|
| 18 |
7.00 expected 2026-09-01 |
| 19 |
- Not a major release |
| 20 |
This is NOT a major release change. It is simply a bump of one |
| 21 |
minor version from 6.99. There are no current plans for another |
| 22 |
major release. |
| 23 |
|
| 24 |
- CPAN email contact removed |
| 25 |
As of April, CPAN no longer forwards emails, so the old cpan.org |
| 26 |
email address is no longer a supported contact method and has been |
| 27 |
removed. |
| 28 |
|
| 29 |
Reported in GitHub #53 |
| 30 |
|
| 31 |
- Time zone fixes |
| 32 |
Newest zoneinfo data (tzdata 2026c). |
| 33 |
|
| 34 |
6.99 2026-03-02 |
| 35 |
- Time zone fixes |
| 36 |
Newest zoneinfo data (tzdata 2026a). |
| 37 |
|
| 38 |
6.98 2025-06-01 |
| 39 |
- Time zone fixes |
| 40 |
Newest zoneinfo data (tzdata 2025b). |
| 41 |
|
| 42 |
6.97 2025-03-02 |
| 43 |
- Fix to avoid warnings in perl 5.41.* |
| 44 |
The newest development version of perl gives 'possible precedence |
| 45 |
problem' warnings for a few lines. Those lines have been fixed by |
| 46 |
adding some parentheses to avoid any precedence ambiguity. |
| 47 |
|
| 48 |
Reported in GitHub #51 |
| 49 |
|
| 50 |
- Added a requested alternative to 'ago'. |
| 51 |
Requested in GitHub #50 |
| 52 |
|
| 53 |
- Time zone fixes |
| 54 |
Newest zoneinfo data (tzdata 2025a). |
| 55 |
|
| 56 |
6.96 2024-12-04 |
| 57 |
- Time zone fixes |
| 58 |
There were no new timezone fixes on 2024-06-01 or 2024-09-01, so no |
| 59 |
release made then. |
| 60 |
|
| 61 |
Newest zoneinfo data (tzdata 2024b). |
| 62 |
|
| 63 |
6.95 2024-03-01 |
| 64 |
- Better support for weeks of the year |
| 65 |
Added the Week1ofYear config variable and deprecated the Jan1Week1 |
| 66 |
variable. The first week of the year can now be specified much more |
| 67 |
easily. |
| 68 |
|
| 69 |
- Support for the standard POSIX strftime directives in printf |
| 70 |
The Date::Manip::Date::printf method uses a set of directives which |
| 71 |
is similar, but not identical, to the POSIX strftime directives. |
| 72 |
|
| 73 |
A new config variable Use_POSIX_Printf has been added. If set, the |
| 74 |
printf method will use the POSIX strftime directives more fully |
| 75 |
(see the PRINTF DIRECTIVES section in the Date::Manip::Date POD for |
| 76 |
more information). |
| 77 |
|
| 78 |
Reported in GitHub #48 |
| 79 |
|
| 80 |
- Time zone fixes |
| 81 |
Newest zoneinfo data (tzdata 2024a). |
| 82 |
|
| 83 |
6.94 2024-01-09 |
| 84 |
- Time zone fixes |
| 85 |
The 6.93 release didn't include the windows timezone aliases from |
| 86 |
GitHub #46. Pointed out by Mike Capella. |
| 87 |
|
| 88 |
Newest zoneinfo data (tzdata 2023d). |
| 89 |
|
| 90 |
- Documentation fixes |
| 91 |
Fixed a grammatical issue. GitHub #49 |
| 92 |
|
| 93 |
6.93 2023-12-01 |
| 94 |
- Bug fixes |
| 95 |
Bug where Date::Manip::TZ::convert wasn't returning an error code |
| 96 |
if an invalid date was passed in. GitHub #47. |
| 97 |
|
| 98 |
- Time zone fixes |
| 99 |
Updated the windows timezone aliases. They were out-of-date. See |
| 100 |
GitHub #46. |
| 101 |
|
| 102 |
- Test fixes |
| 103 |
In the test scripts, changed RELEASE_TESTING variable. Now use a |
| 104 |
release-specific testing variable rather than RELEASE_TESTING. See |
| 105 |
GitHub #17 in my Locale-Codes module for details. |
| 106 |
|
| 107 |
6.92 2023-06-07 |
| 108 |
- Time zone fixes |
| 109 |
Newest zoneinfo data (tzdata 2023c). |
| 110 |
|
| 111 |
- Documentation fixes |
| 112 |
Typo fix. Reported by Derek Terveer |
| 113 |
|
| 114 |
6.91 2023-03-01 |
| 115 |
- Fixed bug where timezone alias wasn't handled |
| 116 |
On linux systems configured to be in a timezone that is an alias, |
| 117 |
the system timezone wasn't recognized, and it defaulted to GMT. |
| 118 |
This is now fixed. Patch supplied by Sandi Wallendahl (GitHub #43) |
| 119 |
|
| 120 |
6.90 2022-12-02 |
| 121 |
- Time zone fixes |
| 122 |
Aliases in the tzdata database were not being added to the timezone |
| 123 |
data. Reported in GitHub issue #40. |
| 124 |
|
| 125 |
The UTC timezone is now named Etc/UTC instead of UTC to be in line |
| 126 |
with the aliases. |
| 127 |
|
| 128 |
Newest zoneinfo data (tzdata 2022g). |
| 129 |
|
| 130 |
- Language fixes |
| 131 |
Additions to the Polish translation. GitHub issue #41. |
| 132 |
|
| 133 |
Additions to several languages. GitHub issue #42. |
| 134 |
|
| 135 |
Added some support for per-language parsing rules to respond to |
| 136 |
GitHub issue #42. |
| 137 |
|
| 138 |
- Documentation fixes |
| 139 |
The version numbers in the change log was messed up due to a |
| 140 |
skipped release (no new timezone fixes that time). Fixed. |
| 141 |
|
| 142 |
6.89 2022-09-01 |
| 143 |
- (!) Date::Manip 5.xx interface to be removed |
| 144 |
The old version of Date::Manip (version 5.xx) has been distributed |
| 145 |
as part of the package in order to support versions of perl older |
| 146 |
than 5.10 . I see no valid reason to continue to support that, so |
| 147 |
as of version 7.00, Date::Manip will only include the newer |
| 148 |
interfaces (which require perl 5.10 or newer). There are no plans |
| 149 |
to deprecate the functional interface. |
| 150 |
|
| 151 |
- Time zone fixes |
| 152 |
Newest zoneinfo data (tzdata 2022c). |
| 153 |
|
| 154 |
6.88 2022-06-02 |
| 155 |
- Packaging problem. |
| 156 |
I generated a broken MANIFEST file in the previous release. |
| 157 |
Reported in GitHub issue #39. |
| 158 |
|
| 159 |
6.87 2022-06-01 |
| 160 |
- Bug fixes |
| 161 |
The package was being generated with an incorrect MANIFEST file. |
| 162 |
This is now fixed. RT 140075 |
| 163 |
|
| 164 |
- Time zone fixes |
| 165 |
There were no new timezone fixes on 2022-03-01, so no release made |
| 166 |
then. |
| 167 |
|
| 168 |
Newest zoneinfo data (tzdata 2022a). |
| 169 |
|
| 170 |
6.86 2021-11-15 |
| 171 |
- Change warn to carp |
| 172 |
All warnings are now issued with the carp command rather than warn. |
| 173 |
Requested in GitHub pull request #18, but that request was not used |
| 174 |
because it only changed the uses in the Date::Manip::Date module. |
| 175 |
|
| 176 |
- Bug fixes |
| 177 |
Fixed a bug where the next/prev Date::Manip::Recur methods gave |
| 178 |
incorrect results when there are no dates that match the criteria. |
| 179 |
(GitHub #36) |
| 180 |
|
| 181 |
- Time zone fixes |
| 182 |
There were no new timezone fixes on 2021-06-01 or 2021-09-01, so no |
| 183 |
releases made then. |
| 184 |
|
| 185 |
Newest zoneinfo data (tzdata 2021e). (GitHub #37) |
| 186 |
|
| 187 |
6.85 2021-03-01 |
| 188 |
- Test fixes |
| 189 |
Missed some tests that were failing. |
| 190 |
|
| 191 |
6.84 2021-03-01 |
| 192 |
- Time zone fixes |
| 193 |
Newest zoneinfo data (tzdata 2021a). |
| 194 |
|
| 195 |
- Language fixes |
| 196 |
Corrections and additions to Italian. Patch supplied by Leo |
| 197 |
Cacciari (GitHub #33) |
| 198 |
|
| 199 |
6.83 2020-12-01 |
| 200 |
- Time zone fixes |
| 201 |
No new zoneinfo data so no release on 2020-09-01. |
| 202 |
|
| 203 |
Newest zoneinfo data (tzdata 2020d). Requested by Shawn Carroll |
| 204 |
(GitHub #32) |
| 205 |
|
| 206 |
6.82 2020-06-01 |
| 207 |
- Time zone fixes |
| 208 |
Newest zoneinfo data (tzdata 2020a). |
| 209 |
|
| 210 |
6.81 2020-03-01 |
| 211 |
- Messed up the 6.80 package. This release fixes it. |
| 212 |
|
| 213 |
6.80 2020-03-01 |
| 214 |
- Missed Changes entry for previous version. |
| 215 |
Reported by Tina Muller (GitHub #31) |
| 216 |
|
| 217 |
6.79 2019-12-01 |
| 218 |
- Time zone fixes |
| 219 |
Newest zoneinfo data (tzdata 2019c). |
| 220 |
|
| 221 |
6.78 2019-08-29 |
| 222 |
- Time zone fixes |
| 223 |
Newest zoneinfo data (tzdata 2019b). |
| 224 |
|
| 225 |
- Documentation fixes |
| 226 |
Fixed a broken link. Mohammad S Anwar (GitHub #29) |
| 227 |
|
| 228 |
6.77 2019-06-01 |
| 229 |
- Time zone fixes |
| 230 |
Newest zoneinfo data (tzdata 2019a). |
| 231 |
|
| 232 |
6.76 2019-03-01 |
| 233 |
- Fixed bug in Date::Manip::Date::list_holidays. |
| 234 |
It was using 'now' instead of the stored date. Douglas DeStafeno |
| 235 |
|
| 236 |
- Reordered TZ detection methods |
| 237 |
Moved checking the tzdata files to lower priority to avoid a pretty |
| 238 |
unusual situation in docker. Sven Nierlein (GitHub #20) |
| 239 |
|
| 240 |
- Time zone fixes |
| 241 |
Newest zoneinfo data (tzdata 2018i). Requested by Shawn C Carroll |
| 242 |
(GitHub #28) |
| 243 |
|
| 244 |
6.75 2018-12-03 |
| 245 |
- Fixed packaging problems |
| 246 |
Version 6.74 was not packaged correctly. Version wasn't set |
| 247 |
correctly in a few files and there were invalid entries in |
| 248 |
Makefile.PL. RT 127870. |
| 249 |
|
| 250 |
6.74 2018-12-01 |
| 251 |
- Removed travis file from the tarball |
| 252 |
The tarball had a .travis.yml file in it that wasn't in the MANIFEST |
| 253 |
file. Since the MANIFEST file is automatically generated by the perl |
| 254 |
mkmanifest tool, since it didn't see the .travis.yml file, I have |
| 255 |
excluded it from the tarball. Reported by Mohammad S Anwar on GitHub |
| 256 |
(#23) |
| 257 |
|
| 258 |
- Time zone fixes |
| 259 |
Newest zoneinfo data (tzdata 2018e) |
| 260 |
|
| 261 |
6.73 2018-09-01 |
| 262 |
- Fixed math on non-64-bit architectures |
| 263 |
Much of the math in Date::Manip::Base is in a 'use integer' section. |
| 264 |
This math can overflow in some cases in non-64-bit architectures. |
| 265 |
Fixed the cases where this would reasonably occur. Reported by |
| 266 |
Daniel Albers (GitHub #22). Also reported and tested in RT 126052. |
| 267 |
|
| 268 |
- Bug in normalizing estimated business deltas |
| 269 |
While working on the non-64-bit issue, it uncovered a bug where |
| 270 |
normalizing estimated business deltas was wrong. It had never been |
| 271 |
reported, and it was only off by a couple seconds in some rare |
| 272 |
situations. |
| 273 |
|
| 274 |
6.72 2018-06-06 |
| 275 |
- Fixed recurrence bug |
| 276 |
The fix in the previous version for a rare recurrence problem broke |
| 277 |
another recurrence form. It is now corrected. Michael Schout (GitHub |
| 278 |
#20) |
| 279 |
|
| 280 |
- Fixed version problem |
| 281 |
The wrong version was included in two files for some reason. This is |
| 282 |
fixed. |
| 283 |
|
| 284 |
- Documentation fixes |
| 285 |
Fixed a grammatical error reported by Xavier Guimard (GitHub #19). |
| 286 |
|
| 287 |
6.71 2018-06-01 |
| 288 |
- Fixed an extremely rare problem with recurrences |
| 289 |
It is possible to specify a recurrence that never produces a valid |
| 290 |
date. In these cases, looking for dates went into an infinite loop. |
| 291 |
The MaxRecurAttempts config variable was added which will stop that |
| 292 |
from happening. If no occurrence was found, an error condition will |
| 293 |
be set. Dean Hamstead (RT 123708) |
| 294 |
|
| 295 |
- Changes file supported |
| 296 |
It was requested that I include a valid Changes file. I wrote a |
| 297 |
simple script to convert the Change6.pod file into a valid Change |
| 298 |
file. The Changes6.pod file is still the canonical source of this |
| 299 |
information! Requested by H. Merijn Brand |
| 300 |
|
| 301 |
- Fix for timezone determination |
| 302 |
On MacOS X High Sierra, some of the timezone files were symlinks, |
| 303 |
but not properly followed. This was fixed by Stu Tomlinson (GitHub |
| 304 |
#15). |
| 305 |
|
| 306 |
- Time zone fixes |
| 307 |
Newest zoneinfo data (tzdata 2018e) |
| 308 |
|
| 309 |
- Documentation fixes |
| 310 |
Minor fix provided by Mohammad S Anwar (GitHub #17) |
| 311 |
|
| 312 |
6.70 2018-03-01 |
| 313 |
- (*) (!) Changes to deltas |
| 314 |
Improved handling of deltas to better support the different types of |
| 315 |
deltas. Formalized how the semi-exact portions of the delta are used |
| 316 |
to produce the results that most people would expect. |
| 317 |
|
| 318 |
The type can now be specified to guarantee several behaviors. |
| 319 |
Changed the arguments (in a backward compatible way) to several |
| 320 |
methods. Explicitly added a new type (estimated) which was there |
| 321 |
previously, but could not be manually specified. |
| 322 |
|
| 323 |
The convert function continues to support converting from a less |
| 324 |
exact type to a more exact type, but this is deprecated and will be |
| 325 |
removed in version 7.00. |
| 326 |
|
| 327 |
This was prompted by a bug reported by Ian Gibbs. |
| 328 |
|
| 329 |
- (*) (!) Deprecated some parts of Date::Manip::Delta |
| 330 |
The options passed to the set and parse methods have changed. The |
| 331 |
old style will be removed in version 7.00. |
| 332 |
|
| 333 |
Deltas will also no longer support the 'exact' and 'approximate' |
| 334 |
strings (which have not been supported for some time). These will be |
| 335 |
removed in 7.00 as well. |
| 336 |
|
| 337 |
- Deprecation of TZ postponed |
| 338 |
The deprecation of the TZ variable has been postponed to version |
| 339 |
7.00. |
| 340 |
|
| 341 |
- Some speed improvements |
| 342 |
I converted some of the functions to use faster algorithms. |
| 343 |
Previously, the steps were worked out using logical time/calendar |
| 344 |
based calculations. These were replaced with non-intuitive numerical |
| 345 |
calculations that gave the same result faster. |
| 346 |
|
| 347 |
- Changed behavior if timezone not determined |
| 348 |
If the system timezone cannot be determined using any of the methods |
| 349 |
supplied by Date::Manip, operations will be done in the GMT |
| 350 |
timezone. Previously, Date::Manip would simply fail to load. Based |
| 351 |
on a report by Kent Fredric (RT 123229). |
| 352 |
|
| 353 |
- Fixed Makefile.PL |
| 354 |
The list of what what is provided did not include the path to the |
| 355 |
file providing each module. I've fixed the Makefile.PL as well as |
| 356 |
the META files. Graham Knop (GitHub #13) |
| 357 |
|
| 358 |
- Time zone fixes |
| 359 |
Newest zoneinfo data (tzdata 2018c) |
| 360 |
|
| 361 |
- Documentation fixes |
| 362 |
Rewrote Date::Manip::Delta page to reflect changes, and clean up the |
| 363 |
documentation in general. |
| 364 |
|
| 365 |
6.60 2017-09-01 |
| 366 |
- Bug fixes |
| 367 |
Fixed a bug where if a recurrence had no interval, start and end |
| 368 |
dates passed in to the dates method would not work. PJ-DSI-DevOps |
| 369 |
(GitHub #12). |
| 370 |
|
| 371 |
- Documentation fixes |
| 372 |
Clarified Date::Manip::TZ::all_periods. Based on discussion with |
| 373 |
Peter Pfannenschmid. |
| 374 |
|
| 375 |
6.59 2017-06-01 |
| 376 |
- Time zone fixes |
| 377 |
Newest zoneinfo data (tzdata 2017b) |
| 378 |
|
| 379 |
- Documentation fixes |
| 380 |
Improved some of the documentation. |
| 381 |
|
| 382 |
6.58 2017-03-01 |
| 383 |
- Better support for $mode in DateCalc. |
| 384 |
DateCalc (in DM6) did not support all values for $mode. Now it does. |
| 385 |
|
| 386 |
- Bug fixes |
| 387 |
Parsing a date like 01/02/2016 and calling printf with %e gave '02' |
| 388 |
instead of ' 2'. Robert Wohlfarth (RT 119787). |
| 389 |
|
| 390 |
Fixed a problem where the tzdata method of determining the timezone |
| 391 |
was producing an error which wasn't correct. John (GitHub #8) |
| 392 |
|
| 393 |
- Time zone fixes |
| 394 |
Newest zoneinfo data (tzdata 2017a) |
| 395 |
|
| 396 |
6.57 2016-12-01 |
| 397 |
- Time zone fixes |
| 398 |
Newest zoneinfo data (tzdata 2016j) |
| 399 |
|
| 400 |
- Test fixes |
| 401 |
A faulty test was failing in a few places. RT 118705 |
| 402 |
|
| 403 |
Another test was failing due to a perl bug that popped up in 5.25.7. |
| 404 |
Tweaked the test to bypass the bug. Kent Fredric (RT 118862) |
| 405 |
|
| 406 |
6.56 2016-09-09 |
| 407 |
- Test fixes |
| 408 |
A faulty test was failing most places. New release to correct that |
| 409 |
problem. Slaven Rezic (RT 117404) |
| 410 |
|
| 411 |
6.55 2016-09-01 |
| 412 |
- Fixed bug where $::TZ wasn't used |
| 413 |
The $::TZ variable was not getting interpreted correctly when |
| 414 |
searching for a timezone. Steven Hartland (RT 114949) |
| 415 |
|
| 416 |
- Fixed bug where recurrences were not parsed correctly |
| 417 |
Passing in incorrect values for a field was not trapped in all cases |
| 418 |
and it led to problems. All values passed in to a recurrence are now |
| 419 |
correctly checked. Albert Hilazo (GitHub #7). |
| 420 |
|
| 421 |
- Fixed a bug in some methods of creating new objects |
| 422 |
Some methods of creating new objects based on existing objects did |
| 423 |
not correctly use the existing object. Bug has never been reported, |
| 424 |
but was discovered when adding tests to get 100% coverage. |
| 425 |
|
| 426 |
- Time zone fixes |
| 427 |
Newest zoneinfo data (tzdata 2016f) |
| 428 |
|
| 429 |
- Test fixes |
| 430 |
Added a number of new tests based on Devel::Cover. |
| 431 |
|
| 432 |
6.54 2016-05-31 |
| 433 |
- Deprecation of Date::Manip 5.xx tests |
| 434 |
By default, the Date::Manip 5.xx tests will no longer run. Changes |
| 435 |
to the timezone data can cause failures. Since Date::Manip 5.xx is |
| 436 |
no longer supported in any way, these tests will no longer run on a |
| 437 |
system where 6.xx can be run. Richard Jelinek. |
| 438 |
|
| 439 |
- Deprecation of TZ postponed |
| 440 |
The deprecation of the TZ variable has been postponed to March 2017. |
| 441 |
I decided that 1 year was not enough notice (especially since not |
| 442 |
everyone will have updated Date::Manip since March 2015 when the |
| 443 |
warning was added. |
| 444 |
|
| 445 |
- Bug fixes |
| 446 |
Changed requirement for ExtUtils::MakeMaker to 6.67_01. Quin Arnold |
| 447 |
(RT 112286) |
| 448 |
|
| 449 |
Fixed a bug where a timezone abbreviation was not parsed correctly |
| 450 |
when passed in as a value to the SetDate, ForceDate, or TZ config |
| 451 |
variables. Based on a report in perlmonks.org. |
| 452 |
|
| 453 |
- Time zone fixes |
| 454 |
Newest zoneinfo data (tzdata 2016d) |
| 455 |
|
| 456 |
Made some improvements to how I handled the timezone data which |
| 457 |
resulted in a few of the default timezones being changed. |
| 458 |
|
| 459 |
- Documentation fixes |
| 460 |
Fixed one more typo. Gregor Herrmann (RT 114095) |
| 461 |
|
| 462 |
Clarified the Config document. Based on a report in perlmonks.org. |
| 463 |
|
| 464 |
6.53 2016-03-02 |
| 465 |
- Bug fixes |
| 466 |
Date::Manip::Delta::cmp had a bug in it's comparison. Ian Gibbs. |
| 467 |
|
| 468 |
The secs_since_1970_GMT method was missing a test to see if it was a |
| 469 |
valid object. Michael Stevens (RT 111915) |
| 470 |
|
| 471 |
- Time zone fixes |
| 472 |
Newest zoneinfo data (tzdata 2016a) |
| 473 |
|
| 474 |
- Documentation fixes |
| 475 |
Lots of typos fixed. I was using podspell to do spell checking, but |
| 476 |
it was discarding too much real text (which wasn't getting checked |
| 477 |
as a result). Switched to pod2text which does a better job. Gregor |
| 478 |
Herrmann (RT 110025) |
| 479 |
|
| 480 |
6.52 2015-12-01 |
| 481 |
- Added date ranges on unmodified dates in Recur |
| 482 |
The date range can now be specified for either the fully modified |
| 483 |
dates, or the unmodified dates. This will make it easier to work |
| 484 |
with holidays in some instances. Based on |
| 485 |
<http://perlmonks.org/?node_id=1148735>. |
| 486 |
|
| 487 |
- Added IWn and NWn recurrence modifiers |
| 488 |
Based on <http://perlmonks.org/?node_id=1148735>. |
| 489 |
|
| 490 |
- (!) Reworked holidays slightly |
| 491 |
Previously, every line in the Holidays section defined a unique |
| 492 |
holiday. Now, the names determine the list of holidays. |
| 493 |
|
| 494 |
It is not allowed to have two separate holidays named exactly the |
| 495 |
same. It IS allowed to have complex holidays that require two (or |
| 496 |
more) lines in the Holidays section to define them completely. |
| 497 |
|
| 498 |
Based on <http://perlmonks.org/?node_id=1148735>. |
| 499 |
|
| 500 |
- Bug fixes |
| 501 |
Fixed a bug where the RecurRange config variable wasn't getting |
| 502 |
used. |
| 503 |
|
| 504 |
Fixed a bug where some deltas were not parsed correctly as dates. |
| 505 |
Salvatore Bonaccorso (RT 109600) |
| 506 |
|
| 507 |
- Time zone fixes |
| 508 |
Newest zoneinfo data (tzdata 2015g) |
| 509 |
|
| 510 |
- Test fixes |
| 511 |
Added a number of new tests based on Devel::Cover. |
| 512 |
|
| 513 |
6.51 2015-09-01 |
| 514 |
- Changes suggested by perlcritic |
| 515 |
Played with perlcritic and made a few minor changes based on it's |
| 516 |
suggestions. I doubt I will use perlcritic significantly. |
| 517 |
|
| 518 |
- (!) Date::Manip::Delta::value now returns an empty string |
| 519 |
If a delta has an error, or no valid delta in it, the value method |
| 520 |
returns an empty string instead of undef. This is to be consistent |
| 521 |
with the Date::Manip::Date::value method which returns an empty |
| 522 |
string. |
| 523 |
|
| 524 |
- Bug fixes |
| 525 |
Fixed a bug where date/delta calculations with deltas that are too |
| 526 |
large was not working correctly. They now set an error condition and |
| 527 |
fail. Jared Selengut (RT 105737) |
| 528 |
|
| 529 |
Fixed a bug introduced by the previous patch and luckily discovered |
| 530 |
pre-release by Tom Wyant. |
| 531 |
|
| 532 |
Fixed code that produced a warning in 5.22.0. Tom Wyant |
| 533 |
|
| 534 |
- Improved DM6 ParseDate and ParseDateString |
| 535 |
Added @opts argument. Based on report by Vitaly Shupak (RT 105622). |
| 536 |
|
| 537 |
- Time zone fixes |
| 538 |
Newest zoneinfo data (tzdata 2015f) |
| 539 |
|
| 540 |
Now uses /etc/localtime as a method to determine the local timezone. |
| 541 |
Patch supplied by Tom Wyant (RT 105159) (modified by me). The patch |
| 542 |
uses some code derived from DateTime::TimeZone . |
| 543 |
|
| 544 |
Clearer message when the date is not valid in the timezone. |
| 545 |
|
| 546 |
- Test fixes |
| 547 |
Added a number of new tests based on Devel::Cover. Over the next |
| 548 |
several releases, I intend to continue to add tests until coverage |
| 549 |
is 100%. |
| 550 |
|
| 551 |
- Documentation fixes |
| 552 |
Fixed a typo. Gregor Herrmann (RT 105546) |
| 553 |
|
| 554 |
6.50 2015-06-01 |
| 555 |
- Bug fixes |
| 556 |
Not really a bug, but 6.49 got a bunch of NYTprof data bundled with |
| 557 |
it by mistake. It's been removed. Olivier Mengue (RT 103252) |
| 558 |
|
| 559 |
Fixed a bug where information about whether a date was complete or |
| 560 |
truncated was discarded. Jim Avera |
| 561 |
|
| 562 |
Fixed a bug where SetDate with a zone alias failed. |
| 563 |
|
| 564 |
Added the Format_MMMYYYY config variable to allow the truncated |
| 565 |
format mmmYYYY to be parsed instead of mmmDDYY. David W. Morganwalp |
| 566 |
and Glenn Golden (RT 103142) |
| 567 |
|
| 568 |
Fixed Makefile.PL/Build.PL to correct for a change on perl on |
| 569 |
windows which changes a module prereq requirement. Alexandr Ciornii |
| 570 |
|
| 571 |
- Time zone fixes |
| 572 |
Newest zoneinfo data (tzdata 2015d) |
| 573 |
|
| 574 |
Added aliases for older HP-UX time zones. H. Merijn Brand (RT |
| 575 |
104141) |
| 576 |
|
| 577 |
- Documentation fixes |
| 578 |
Fixed URL for tzdata. Mohammad S Anwar (GitHub #3). |
| 579 |
|
| 580 |
Better POD formats. |
| 581 |
|
| 582 |
Fixed a documentation error. Glenn Golden (RT 103966) |
| 583 |
|
| 584 |
6.49 2015-03-01 |
| 585 |
- Added a deprecation warning |
| 586 |
The TZ config variable is going away. Added a deprecation warning. |
| 587 |
|
| 588 |
- Some speedups for timezone handling |
| 589 |
Based on a report by Glenn Golden (RT 102284), I have done some |
| 590 |
optimization of the timezone handling code. |
| 591 |
|
| 592 |
- Bug fixes |
| 593 |
Added the missing is_date base method to Date::Manip::Base. Mario |
| 594 |
Domgoergen. |
| 595 |
|
| 596 |
- Time zone fixes |
| 597 |
Newest zoneinfo data (tzdata 2015a) |
| 598 |
|
| 599 |
- Language fixes |
| 600 |
A number of corrections by Nicholas Riley |
| 601 |
|
| 602 |
6.48 2014-12-01 |
| 603 |
- Put repository on GitHub |
| 604 |
Suggested by Gabor Szabo |
| 605 |
|
| 606 |
- parse_time now parses ISO 8601 times |
| 607 |
The parse_time routine wouldn't correctly parse ISO 8601 times. This |
| 608 |
is now fixed. |
| 609 |
|
| 610 |
- Parsing special dates with timezones now works |
| 611 |
Parsing special date formats with timezones is now supported such |
| 612 |
as: |
| 613 |
|
| 614 |
Christmas at noon PST |
| 615 |
in 3 days at noon PST |
| 616 |
now PST |
| 617 |
epoch 3000000 PST |
| 618 |
|
| 619 |
- dm_zdump modified |
| 620 |
To match the newest version of zdump, the gmtoff is now added at the |
| 621 |
end of each line. |
| 622 |
|
| 623 |
- Bug fixes |
| 624 |
Fixed a bug in the printf method that would not handle embedded |
| 625 |
newlines correctly (and resulted in an infinite loop if it were |
| 626 |
preceded by a '%'). Henrique Martins |
| 627 |
|
| 628 |
Fixed a bug where '24:00' was not parsed correctly (though |
| 629 |
'24:00:00' was). |
| 630 |
|
| 631 |
Fixed a bug where fractional values separated by a comma weren't |
| 632 |
parsed correctly. |
| 633 |
|
| 634 |
- Time zone fixes |
| 635 |
Newest zoneinfo data (tzdata 2014j) |
| 636 |
|
| 637 |
6.47 2014-09-01 |
| 638 |
- Time zone fixes |
| 639 |
Newest zoneinfo data (tzdata 2014f) |
| 640 |
|
| 641 |
- Language fixes |
| 642 |
Fixed some encoding errors in the language pod documentation. |
| 643 |
|
| 644 |
6.46 2014-07-08 |
| 645 |
- Broken distribution |
| 646 |
The distribution contained an temporary edit file that caused |
| 647 |
problems. Alexandr Ciornii (RT 96459) |
| 648 |
|
| 649 |
- Time zone fixes |
| 650 |
Newest zoneinfo data (tzdata 2014e) |
| 651 |
|
| 652 |
- Language fixes |
| 653 |
Added some plural abbreviations that were missing. Glenn Golden (RT |
| 654 |
96944) |
| 655 |
|
| 656 |
6.45 2014-06-05 |
| 657 |
- Fixed a test |
| 658 |
One test was failing (reported by Constantine Peresypkin (RT 96249) |
| 659 |
as well as several CPAN Tester reports). |
| 660 |
|
| 661 |
6.44 2014-06-01 |
| 662 |
- (*) Improvements to UTF8 handling |
| 663 |
A number of changes based on a report and other discussion with Yuri |
| 664 |
Nikulin (RT 93545) including: |
| 665 |
|
| 666 |
Case insensitive matching of UTF8 strings should work all the time. |
| 667 |
|
| 668 |
Fixed two significant bugs in regexps for parsing dates. |
| 669 |
|
| 670 |
Improvements to UTF8 handling. |
| 671 |
|
| 672 |
Corrected some problems with Russian and added the cp1251 encoding. |
| 673 |
|
| 674 |
One correction to Romanian. |
| 675 |
|
| 676 |
Added several new test scripts. |
| 677 |
|
| 678 |
Preliminary patches were supplied by Yuri. |
| 679 |
|
| 680 |
- New features |
| 681 |
Modified the parse_format function to return %+ if desired. Mike |
| 682 |
Cappella |
| 683 |
|
| 684 |
- Time zone fixes |
| 685 |
Newest zoneinfo data (tzdata 2014c) |
| 686 |
|
| 687 |
- Documentation fixes |
| 688 |
Clarified some DM6 functions. David Close. |
| 689 |
|
| 690 |
Fixed a typo. Mike Cappella (RT 95619) |
| 691 |
|
| 692 |
6.43 2014-03-03 |
| 693 |
- Several changes to distribution files |
| 694 |
I made several changes to Build.PL, Makefile.PL, META.yml in order |
| 695 |
to improve the quality (or kwalitee) of the module. None of these |
| 696 |
should impact anyone using the module. |
| 697 |
|
| 698 |
- Time zone fixes |
| 699 |
Newest zoneinfo data (tzdata 2013i) |
| 700 |
|
| 701 |
- Documentation fixes |
| 702 |
Cleaned up some of the Recur documentation. Suggested by Warren |
| 703 |
Young (RT 92794) |
| 704 |
|
| 705 |
6.42 2013-12-02 |
| 706 |
- Added ParseDateFormat function |
| 707 |
Added the ParseDateFormat function to the DM6 functional interface |
| 708 |
in response to Eli Lindsey (RT 89286). |
| 709 |
|
| 710 |
- Added Common Log format |
| 711 |
Added the date format used in apache logs: 11/Oct/2000:13:55:36 |
| 712 |
-0700 Eli Lindsey (RT 89286). |
| 713 |
|
| 714 |
- Time zone fixes |
| 715 |
Newest zoneinfo data (tzdata 2013h) |
| 716 |
|
| 717 |
- Bug fixes |
| 718 |
Fixed a bug where dates of the form of a delta with a timezone |
| 719 |
attached (i.e. "1 day ago at midnight UTC") failed. Ludovic Lange |
| 720 |
(RT 89256) |
| 721 |
|
| 722 |
Fixed a bug where events handling gave a warning if there were no |
| 723 |
events that applied. RT 90344 |
| 724 |
|
| 725 |
6.41 2013-09-05 |
| 726 |
- Bug fixes |
| 727 |
Removed a .swp file accidentally left in the package. RT 85845 |
| 728 |
|
| 729 |
Fixed a bug in parse_format where times between 00:00:00 and |
| 730 |
01:00:00 weren't parsed correctly. Ole Nomann Thomsen |
| 731 |
|
| 732 |
Fixed generated META.* files to not require Module::Build 0.39. |
| 733 |
Carsten Wolff (RT 86137) |
| 734 |
|
| 735 |
Fixed a bug where parse_format did not work with a '%s' format. Mark |
| 736 |
Keisler (RT 87498) |
| 737 |
|
| 738 |
Fixed a bug where find_encoding wasn't imported from the Encode |
| 739 |
module. Krishna Subramanian (RT 87665) |
| 740 |
|
| 741 |
Fixed a bug where recurrences with no interval did not work if a |
| 742 |
start and end date were specified, and no dates fell in that range. |
| 743 |
Jan Pradac |
| 744 |
|
| 745 |
- Time zone fixes |
| 746 |
Newest zoneinfo data (tzdata 2013d) |
| 747 |
|
| 748 |
6.40 2013-06-01 |
| 749 |
- Removed PODs |
| 750 |
POD documentation is no longer generated for Date::Manip::TZ::* and |
| 751 |
Date::Manip::Offset::* modules. |
| 752 |
|
| 753 |
- Time zone fixes |
| 754 |
Newest zoneinfo data (tzdata 2013c) |
| 755 |
|
| 756 |
6.39 2013-03-01 |
| 757 |
- Added the $mode argument to ParseDateDelta |
| 758 |
The ParseDateDelta function (in functional interface) did not allow |
| 759 |
you to force a parsed delta to semi or approx where appropriate. |
| 760 |
This was added. Based on RT 82991. |
| 761 |
|
| 762 |
- Added get_config method |
| 763 |
The get_config method was added to all classes. Suggested by |
| 764 |
Philippe Poilbarbe. |
| 765 |
|
| 766 |
- Language fixes |
| 767 |
Fixed a German language problem. Gosta Oelstrom |
| 768 |
|
| 769 |
- Documentation fixes |
| 770 |
Documented workaround for dmake problem in strawberry perl. |
| 771 |
Discussed on perlmonks and Martin Thurn (RT 79837). |
| 772 |
|
| 773 |
Clarified the Examples page. Winston Heng |
| 774 |
|
| 775 |
6.38 2013-01-08 |
| 776 |
- (*) Tar file format corrected |
| 777 |
Problems were reported on several OSes by people unable to install |
| 778 |
Date::Manip (and other modules). It turns out that the version of |
| 779 |
tar distributed by my linux distro (OpenSuSE) uses the 'posix' |
| 780 |
format instead of the traditional 'gnu' format by default. This |
| 781 |
causes problems for some versions of tar. I have had reports from |
| 782 |
OSX, Windows, and SunOS. Future versions of Date::Manip will be |
| 783 |
explicitly distributed in the 'gnu' tar archive format. |
| 784 |
|
| 785 |
Reported by Jay Allen and John Ralls (RT 80594). |
| 786 |
|
| 787 |
- (*) Date::Manip 5.xx end-of-life |
| 788 |
Date::Manip 5.xx is now officially out of support. I will not be |
| 789 |
doing any further work on it. The only exception is that I will |
| 790 |
consider adding user supplied patches on a case-by-case basis. |
| 791 |
|
| 792 |
If at all possible, please use Date::Manip 6.xx instead. |
| 793 |
|
| 794 |
- (!) Removed some deprecated config variables |
| 795 |
The following config variables have been removed. |
| 796 |
|
| 797 |
IntCharSet |
| 798 |
RecurNumFudgeDays |
| 799 |
|
| 800 |
6.37 2012-12-01 |
| 801 |
- Bug fixes |
| 802 |
Fixed a bug where ISO 8601 format YYYY-WXX-D didn't work if the week |
| 803 |
ended up in December. Gordon Lugauer. |
| 804 |
|
| 805 |
- Time zone fixes |
| 806 |
Newest zoneinfo data (tzdata 2012j) |
| 807 |
|
| 808 |
- Documentation fixes |
| 809 |
Spelling error fixed. RT 80621 |
| 810 |
|
| 811 |
6.36 2012-10-31 |
| 812 |
- Fix version numbers |
| 813 |
This was an interim release to fix the version numbers (6.35 was |
| 814 |
released with all of the version numbers 6.34). |
| 815 |
|
| 816 |
6.35 2012-10-31 |
| 817 |
- Fix PATH |
| 818 |
This version was an interim release to fix the problem with the PATH |
| 819 |
being replaced. |
| 820 |
|
| 821 |
- Removed dependency on YAML |
| 822 |
I've reverted the language data files to perl literals instead of |
| 823 |
YAML. Though not quite as easy to maintain, it solves a few |
| 824 |
problems. Patch provided by Christopher Madsen. |
| 825 |
|
| 826 |
- Bug fixes |
| 827 |
Last versions fix for RT 78566 overrode the PATH even when that |
| 828 |
wasn't appropriate. This is fixed. Report and patch supplied by Tom |
| 829 |
Wyant (RT 80435). |
| 830 |
|
| 831 |
6.34 2012-09-04 |
| 832 |
- This is a bug fix so that the PATH won't break non-unix installs. |
| 833 |
|
| 834 |
- Bug fixes |
| 835 |
Put the PATH inside the Unix section so it doesn't affect non-unix |
| 836 |
environments. Geoff Rowell |
| 837 |
|
| 838 |
6.33 2012-09-01 |
| 839 |
- Improvements to Date::Manip::Delta |
| 840 |
Added convert method. This had been planned since 6.30, but based |
| 841 |
on a discussion with Henrique Martins, I moved it up in priority. |
| 842 |
|
| 843 |
Cleaned up handling of delta field lengths (they are now only |
| 844 |
calculated once. |
| 845 |
|
| 846 |
Added cmp method. Henrique Martins |
| 847 |
|
| 848 |
- Bug fixes |
| 849 |
The language modules read from the DATA section, but I never closed |
| 850 |
the filehandle. This is fixed now. Patch by Doru Theodor Petrescu |
| 851 |
|
| 852 |
Added better loading of DM5/DM6 modules. Evan Carroll (RT 78152) |
| 853 |
|
| 854 |
Added a secure PATH to TZ.pm for taint reasons. In response to Dan |
| 855 |
Pritts (RT 78566) |
| 856 |
|
| 857 |
- Time zone fixes |
| 858 |
Now supports timezones in files with spaces where there should be |
| 859 |
underscores. This occurs in RHEL desktop. Dan Pritts (RT 78566) |
| 860 |
|
| 861 |
Newest zoneinfo data (tzdata 2012e) |
| 862 |
|
| 863 |
- Documentation fixes |
| 864 |
Minor fix. Henrique Martins |
| 865 |
|
| 866 |
6.32 2012-06-01 |
| 867 |
- Modified Build.PL |
| 868 |
Build.PL now has better support for building (or not building) HTML |
| 869 |
files. Apparently this is slow on Windows. Patch provide by Manoj |
| 870 |
Kumar (RT 75118) |
| 871 |
|
| 872 |
- Bug fixes |
| 873 |
Fixed a bug in business day calculations. Frederic Briere (RT 76336) |
| 874 |
|
| 875 |
Fixed a bug where Delta/Recur objects weren't correctly created. |
| 876 |
Zsban Ambrus |
| 877 |
|
| 878 |
Fixed a bug where SetDate/ForceDate config variables could not be |
| 879 |
included in a file. Jerry Wilcox |
| 880 |
|
| 881 |
- Time zone fixes |
| 882 |
Newest zoneinfo data (tzdata 2012c). |
| 883 |
|
| 884 |
- Documentation fixes |
| 885 |
Better support for UTF-8 in autogenerated language module pod files. |
| 886 |
|
| 887 |
6.31 2012-03-01 |
| 888 |
- Added extended formats to printf method. |
| 889 |
These include the %<A=NUM>, %<a=NUM>, %<v=NUM>, %<B=NUM>, %<b=NUM>, |
| 890 |
%<p=NUM>, and %<E=NUM> formats. Chris Jackson |
| 891 |
|
| 892 |
- Can now parse formats where the time and zone are not adjacent |
| 893 |
A string like 'Jan 21 17:13:27 2010 -0400' can now be parsed. |
| 894 |
Requested on perlmonks ('Can Date::Manip parse a unix timestamp' |
| 895 |
thread). |
| 896 |
|
| 897 |
- Added PeriodTimeSep config variable. |
| 898 |
This allows you to use a period as a time separator. Ed Avis |
| 899 |
|
| 900 |
- Holidays can be used as date strings |
| 901 |
You can now parse a holiday name in the Date::Manip::Date::parse |
| 902 |
method. For example, parse('Christmas'). Requested by Abigail. |
| 903 |
|
| 904 |
- Added new recur modifiers |
| 905 |
Added WDn, IBD, and NBD modifiers. |
| 906 |
|
| 907 |
- Added a new date format |
| 908 |
You can now parse '2nd day in May' formats. Randy Harmon |
| 909 |
|
| 910 |
- More flexibility in parsing timezones with both offset and abbrev |
| 911 |
If you include both the offset and abbreviation in the timezone |
| 912 |
portion of a date, the parenthesis around the abbreviation are now |
| 913 |
optional, so you can parse both: |
| 914 |
|
| 915 |
-04:00 (EDT) |
| 916 |
-04:00 EDT |
| 917 |
|
| 918 |
Requested by Steven Melendez. |
| 919 |
|
| 920 |
- Deltas now support fractional values. |
| 921 |
You can now use a delta of 1.5 days. Martin Thurn (RT 42699) |
| 922 |
|
| 923 |
- Multiple holidays supported |
| 924 |
A date may now have multiple holidays. Keith Minkler |
| 925 |
|
| 926 |
- Bug fixes |
| 927 |
Fixed a bug where abbreviations were not being examined case |
| 928 |
insensitively. Jurgen Muck |
| 929 |
|
| 930 |
The Holidays section may be safely split across multiple config |
| 931 |
files. A bug prevented this from working before. |
| 932 |
|
| 933 |
- Language fixes |
| 934 |
The Norwegian translation was broken due to a typo in the language |
| 935 |
module. |
| 936 |
|
| 937 |
Included complete documentation for each language. |
| 938 |
|
| 939 |
Fixed a couple problems with Danish. Nicholas Oxhaj |
| 940 |
|
| 941 |
Added Finnish (from a VERY old mail that I overlooked somehow). |
| 942 |
Iikka Virkkunen |
| 943 |
|
| 944 |
Cleaned up the values used by printf directives to give the expected |
| 945 |
result. |
| 946 |
|
| 947 |
- Documentation fixes |
| 948 |
Fixed a typo. Nicholas Bamber |
| 949 |
|
| 950 |
6.30 2012-01-11 |
| 951 |
- (*) (!) Reworked deltas |
| 952 |
Much of the delta code was reworked. |
| 953 |
|
| 954 |
The constraint that a day is treated as 24 hours was removed (by |
| 955 |
adding the concept of semi-exact deltas) to better handle daylight |
| 956 |
saving time calculations. |
| 957 |
|
| 958 |
Made cosmetic changes to which signs will be included in a delta to |
| 959 |
make the deltas more readable. Signs which are the same as the next |
| 960 |
higher field will be omitted, even if they cross set boundaries. |
| 961 |
|
| 962 |
Added support for non-normalized deltas. See the $no_normalize |
| 963 |
option for the parse and set methods. |
| 964 |
|
| 965 |
Removed limitations on subtract=2 not working with business |
| 966 |
calculations. |
| 967 |
|
| 968 |
Thanks to discussion on perlmonks, and RT 65774 that prompted me to |
| 969 |
do this. I'd been wanting to do it for some time, but the discussion |
| 970 |
on perlmonks made me realize that this needed to be much higher |
| 971 |
priority. |
| 972 |
|
| 973 |
- (!) Modified Delta_Format |
| 974 |
In conjunction with the above work, added the 'semi' mode to |
| 975 |
Delta_Format. |
| 976 |
|
| 977 |
- (!) Removed some deprecated config variables |
| 978 |
The following config variables have been removed. |
| 979 |
|
| 980 |
GlobalCnf |
| 981 |
IgnoreGlobalCnf |
| 982 |
PersonalCnf |
| 983 |
PersonalCnfPath |
| 984 |
PathSep |
| 985 |
|
| 986 |
Internal |
| 987 |
DeltaSigns |
| 988 |
UpdateCurrTZ |
| 989 |
ConvTZ |
| 990 |
OldConfigFiles |
| 991 |
ResetWorkDay |
| 992 |
|
| 993 |
- Time zone fixes |
| 994 |
Newest zoneinfo data (tzdata 2011n). RT 71595 |
| 995 |
|
| 996 |
Corrects a bug where +0000 and -0000 offsets were not parsed |
| 997 |
correctly. Aaron Hall |
| 998 |
|
| 999 |
The zoneinfo data includes rules more than 20 years in the future, |
| 1000 |
so we now store 30 years of future dates instead of 20 to catch |
| 1001 |
these rules. |
| 1002 |
|
| 1003 |
When parsing the timezone portion of the date, timezone |
| 1004 |
abbreviations now take higher precedence than zone names (since that |
| 1005 |
is how timezone information is typically specified). That only |
| 1006 |
impacts dates where the a timezone name is the same as an |
| 1007 |
abbreviation, such as 'CET'. |
| 1008 |
|
| 1009 |
Previously, a date with CET in it was interpreted as in the CET |
| 1010 |
timezone. Now it is interpreted as in a timezone with the CET |
| 1011 |
abbreviation. |
| 1012 |
|
| 1013 |
- Better handling of undef in DM6 |
| 1014 |
The date/delta parsing routines in DM6 will now handle an undef |
| 1015 |
argument without issuing a warning. Earl C. Ruby III |
| 1016 |
|
| 1017 |
- Bug fixes |
| 1018 |
Fixed a bug with the parse_format %f and %i formats. Tommi Rintala |
| 1019 |
|
| 1020 |
Fixed a bug where the Date::Manip::Delta::set function didn't work |
| 1021 |
to set the month value. |
| 1022 |
|
| 1023 |
Fixed a bug where parsing some dates near during a DST change |
| 1024 |
failed. |
| 1025 |
|
| 1026 |
Minor bug fix when using Delta_Format. Prompted while investigating |
| 1027 |
RT 41095. |
| 1028 |
|
| 1029 |
6.25 2011-08-31 |
| 1030 |
- Relaxed one constraint in ISO 8601 dates |
| 1031 |
A time separated by whitespace from the date can use a single digit |
| 1032 |
hour. Yuming Philip Xiang |
| 1033 |
|
| 1034 |
- (*) Set official removal dates for old config variables |
| 1035 |
Config variables will be removed 2 years after they are deprecated |
| 1036 |
(except for the TZ variable which, due to it's wide use, will be |
| 1037 |
kept for 4 years). |
| 1038 |
|
| 1039 |
- Time zone fixes |
| 1040 |
Newest zoneinfo data (tzdata 2011i) |
| 1041 |
|
| 1042 |
6.24 2011-06-13 |
| 1043 |
- New features |
| 1044 |
Spaces are ignored in the SetDate/ForceDate config values. Zsban |
| 1045 |
Ambrus |
| 1046 |
|
| 1047 |
- Bug fixes |
| 1048 |
Fixed a bug where 'in one week' wasn't correctly parsed. E. M. |
| 1049 |
Shtern |
| 1050 |
|
| 1051 |
Fixed a bug where options passed in to the 'new' as a listref |
| 1052 |
weren't handled properly. Zsban Ambrus |
| 1053 |
|
| 1054 |
- Time zone fixes |
| 1055 |
Newest zoneinfo data (tzdata 2011g) |
| 1056 |
|
| 1057 |
6.23 2011-04-15 |
| 1058 |
- (!) Renamed one Date::Manip::Recur method |
| 1059 |
The Date::Manip::Recur::base method has been renamed to basedate . |
| 1060 |
The Date::Manip::Recur::base method should return the |
| 1061 |
Date::Manip::Base object like all the other Date::Manip modules. |
| 1062 |
|
| 1063 |
- (*) Reworked holidays defined as recurrences |
| 1064 |
Improved dealing with the bootstrap problem of defining holidays, |
| 1065 |
especially those that contain business day flags. Mike Tonks |
| 1066 |
|
| 1067 |
- New features |
| 1068 |
The printf function will now take multiple format strings and return |
| 1069 |
a list of values. Zsban Ambrus |
| 1070 |
|
| 1071 |
- Bug fixes |
| 1072 |
Fixed a bug where GlobalCnf wasn't working. Peter Edwards |
| 1073 |
|
| 1074 |
Improved error messages in a few cases. |
| 1075 |
|
| 1076 |
Fixed a bug where one invalid date/timezone check was ignored. |
| 1077 |
Morten Bjornsvik |
| 1078 |
|
| 1079 |
Fixed a bug where '$base2 = new Date::Manip::Base $base1' wasn't |
| 1080 |
working. RT 67143 |
| 1081 |
|
| 1082 |
Fixed a bug where passing dates in to the Recur->dates method |
| 1083 |
failed. RT 67144 |
| 1084 |
|
| 1085 |
Fixed a bug where the mode wasn't being preserved correctly for a |
| 1086 |
delta. RT 67150 |
| 1087 |
|
| 1088 |
Fixed a bug in recurrences where a base date outside of a date range |
| 1089 |
with a very uncommon recurrence format would not work correctly. |
| 1090 |
|
| 1091 |
Fixed a problem where the '%s' printf option didn't work in GMT. |
| 1092 |
Jean-Michel Hiver |
| 1093 |
|
| 1094 |
- Time zone fixes |
| 1095 |
Newest zoneinfo data (tzdata 2011f) |
| 1096 |
|
| 1097 |
- Documentation fixes |
| 1098 |
Fixed two bad recurrence examples in the documentation. Peter |
| 1099 |
Edwards and Mike Tonks |
| 1100 |
|
| 1101 |
6.22 2011-03-07 |
| 1102 |
- Time zone fixes |
| 1103 |
Newest zoneinfo data (tzdata 2011b) |
| 1104 |
|
| 1105 |
Fixed a bug where the gmtoff method of getting the local timezone |
| 1106 |
was broken. Martin Zinser. |
| 1107 |
|
| 1108 |
Fixed the 'env' method of determining the local time zone to allow |
| 1109 |
the value to be an offset of seconds since UTC. This allows the VMS |
| 1110 |
SYS$TIMEZONE_DIFFERENTIAL variable to work correctly. Martin Zinser. |
| 1111 |
|
| 1112 |
Removed the SYS$TIMEZONE_RULE method from VMS since the value stored |
| 1113 |
there is not the name of a timezone (it's a rule in a non-standard |
| 1114 |
format). Based on discussion with Martin Zinser. |
| 1115 |
|
| 1116 |
Improved the order in which aliases, abbreviations, etc., are tested |
| 1117 |
to test current usage before non-current usage (there were a few |
| 1118 |
cases where old usages were getting tested before current usage. |
| 1119 |
|
| 1120 |
- Language fixes |
| 1121 |
The module will now die if a language module cannot be loaded (most |
| 1122 |
likely due to a YAML::Syck issue). Based on discussion with Martin |
| 1123 |
Zinser. |
| 1124 |
|
| 1125 |
- Documentation fixes |
| 1126 |
Added a sample config file document. Based on discussion with Rich |
| 1127 |
Duzenbury. |
| 1128 |
|
| 1129 |
6.21 2011-01-10 |
| 1130 |
- New features |
| 1131 |
Deltas may now contain spelled out numbers, so 'in 2 weeks' and 'in |
| 1132 |
two weeks' will both work. Daniel Shahaf |
| 1133 |
|
| 1134 |
- Bug fixes |
| 1135 |
Fixed a bug where week_of_year didn't work in some cases. Chris |
| 1136 |
Eveland. |
| 1137 |
|
| 1138 |
Fixed a minor potential bug. Geraint Edwards. |
| 1139 |
|
| 1140 |
- Time zone fixes |
| 1141 |
Updated windows time zone aliases. Daniel Harding |
| 1142 |
|
| 1143 |
- Language fixes |
| 1144 |
Added Norwegian. Glenn Sogn |
| 1145 |
|
| 1146 |
6.20 2010-12-01 |
| 1147 |
- (*) (!) Reworked recurrences |
| 1148 |
Recurrences were reworked in a (slightly) backward incompatible way |
| 1149 |
to improve their usefulness (and to make them conform to the |
| 1150 |
expected results). Most recurrences will work the same as |
| 1151 |
previously, but a few will differ. Most of this was suggested by Jay |
| 1152 |
Jacobs. |
| 1153 |
|
| 1154 |
A recurring event is now calculated relative to the base date, NOT |
| 1155 |
relative to a previous event. For example, if a recurrence occurs |
| 1156 |
every month, and the base date was Jan 31, then previously, |
| 1157 |
recurring events would have been (in a non-leap year): |
| 1158 |
|
| 1159 |
D(0) = Jan 31 |
| 1160 |
D(1) = D(0) + 1 month = Feb 28 |
| 1161 |
D(2) = D(1) + 1 month = Mar 28 |
| 1162 |
... |
| 1163 |
|
| 1164 |
The new behavior is: |
| 1165 |
|
| 1166 |
D(0) = Jan 31 |
| 1167 |
D(1) = D(0) + 1*(1 month) = Feb 28 |
| 1168 |
D(2) = D(0) + 2*(1 month) = Mar 31 |
| 1169 |
... |
| 1170 |
|
| 1171 |
Previously, if a base date were not specified, it was not determined |
| 1172 |
from the date range. Now, the start date of the date range acts as |
| 1173 |
the base date. |
| 1174 |
|
| 1175 |
The meaning of the base date has changed slightly. It is much more |
| 1176 |
meaningful and useful now. |
| 1177 |
|
| 1178 |
Added iterator functions. Daniel LaLiberte |
| 1179 |
|
| 1180 |
The RecurNumFudgeDays variable is no longer used and is deprecated. |
| 1181 |
|
| 1182 |
- Time zone fixes |
| 1183 |
Newest zoneinfo data (tzdata 2010o) |
| 1184 |
|
| 1185 |
6.14 2010-10-20 |
| 1186 |
- (*) Date::Manip 5.xx fully integrated with 6.xx |
| 1187 |
Date::Manip 5.xx and 6.xx are both installed automatically, and the |
| 1188 |
correct one will be chosen. |
| 1189 |
|
| 1190 |
- Bug fixes |
| 1191 |
Fixed a bug where recurrence handling was broken. RT 62128 |
| 1192 |
|
| 1193 |
- Documentation fixes |
| 1194 |
A lot of documentation was cleaned up to be easier to read, and |
| 1195 |
better organized. |
| 1196 |
|
| 1197 |
6.13 2010-10-13 |
| 1198 |
- New features |
| 1199 |
Added the input methods to Date::Manip::Date and Date::Manip::Delta. |
| 1200 |
Ed Avis. |
| 1201 |
|
| 1202 |
The 'date +%z' command will also be used to determine the timezone. |
| 1203 |
Oliver Schulze |
| 1204 |
|
| 1205 |
- Bug fixes |
| 1206 |
Several changes to try to get rid of a memory leaks reported in RT |
| 1207 |
54937. Huge thanks to BrowserUK on perlmonks for help. |
| 1208 |
Unfortunately, it ended up being a bug in perl, and will only be |
| 1209 |
resolved when that bug is fixed. See the Date::Manip::Problems |
| 1210 |
document for more information. |
| 1211 |
|
| 1212 |
Reorganized Base/TZ to get rid of circular references. |
| 1213 |
Added end blocks to clean some global variables. |
| 1214 |
Got rid of switch/given structures. |
| 1215 |
|
| 1216 |
Fixed a bug where an incomplete date with 'last' in it was causing |
| 1217 |
an error. RT 60138 |
| 1218 |
|
| 1219 |
Fixed a bug where 'Sunday, 9th Jan 1972' wasn't parsed correctly. RT |
| 1220 |
57832 |
| 1221 |
|
| 1222 |
- Time zone fixes |
| 1223 |
Fixed a bug where Zones.pm was generated with the abbreviations in |
| 1224 |
the wrong order. Amish Chana. |
| 1225 |
|
| 1226 |
- Language fixes |
| 1227 |
French month abbreviations now support periods. Bernard Haerri |
| 1228 |
|
| 1229 |
- Test fixes |
| 1230 |
Added tests from RT 29655 to make sure that the problem never |
| 1231 |
recurs. |
| 1232 |
|
| 1233 |
- Documentation fixes |
| 1234 |
Fixed documentation problem with the new_* methods in |
| 1235 |
Date::Manip::Obj. Options must be passed in as \@opts rather than |
| 1236 |
@opts. |
| 1237 |
|
| 1238 |
Cleaned up some of the documentation. |
| 1239 |
|
| 1240 |
6.12 2010-09-27 |
| 1241 |
- (!) IntCharSet config variable deprecated |
| 1242 |
With better support for international character sets, the old |
| 1243 |
IntCharSet config variable (which was a bandaid at best) is |
| 1244 |
deprecated. Currently, the functionality still exists, but it will |
| 1245 |
be removed at some point. |
| 1246 |
|
| 1247 |
- New features |
| 1248 |
Added the Encoding config variable. |
| 1249 |
|
| 1250 |
Now supports parsing the EXIF date format. Rhesa Rozendaal |
| 1251 |
|
| 1252 |
- Bug fixes |
| 1253 |
Fixed Build.PL to not require perl 5.010 since the distribution as a |
| 1254 |
whole does not require that (and I want that fact to be in |
| 1255 |
META.yml). |
| 1256 |
|
| 1257 |
Fixed a bug where the Date::Manip::Date::set method was broken when |
| 1258 |
setting individual fields. Helmut A. Bender |
| 1259 |
|
| 1260 |
Fixed a bug where set didn't work in Date::Manip::Delta. Patch |
| 1261 |
provided in RT 59096. |
| 1262 |
|
| 1263 |
- Time zone fixes |
| 1264 |
Newest zoneinfo data (tzdata 2010m) |
| 1265 |
|
| 1266 |
- Language fixes |
| 1267 |
(*) Converted all language files to UTF-8 and added rudimentary |
| 1268 |
support for character encodings. Some assistance by Stephen |
| 1269 |
Ostermiller. |
| 1270 |
|
| 1271 |
Fixed problem in Polish, Dutch. Stephen Ostermiller |
| 1272 |
|
| 1273 |
Extended support for 'nth' up to 53rd. Paco Regodon |
| 1274 |
|
| 1275 |
Added some corrections to German. Dieter Lange |
| 1276 |
|
| 1277 |
- Documentation fixes |
| 1278 |
Clarified Date::Manip::Recur documentation based on RT 59132. |
| 1279 |
|
| 1280 |
6.11 2010-04-30 |
| 1281 |
- Bug fixes |
| 1282 |
Fixed a problem in Build.PL that had an incorrect module |
| 1283 |
requirement. |
| 1284 |
|
| 1285 |
6.10 2010-04-29 |
| 1286 |
- (*) Combined 5.xx and 6.xx releases into one distribution |
| 1287 |
Because the automatic module management tools cpan/cpanp would try |
| 1288 |
to upgrade Date::Manip to the most recent version, and the most |
| 1289 |
recent version will only work if perl 5.10.0 or higher is installed, |
| 1290 |
both the 5.xx and 6.xx releases are now combined into a single |
| 1291 |
distribution. |
| 1292 |
|
| 1293 |
This is described more fully in the Date::Manip::Problems document. |
| 1294 |
|
| 1295 |
- (!) Zones specified by offset |
| 1296 |
In all operations involving time zones, the time zone must be |
| 1297 |
determined. By default, it would take all of the information |
| 1298 |
available (date, ISDST, etc.) and determine the most likely time |
| 1299 |
zone. It would take every time zone that matched each piece of |
| 1300 |
information, starting with those that matched in a standard time |
| 1301 |
followed by those that matched in a daylight saving time. |
| 1302 |
|
| 1303 |
When zones are specified by an offset, a standard time would always |
| 1304 |
match since there are standard time zones that match all year long |
| 1305 |
(the military time zones A-Z and the standard time zones of the form |
| 1306 |
Etc/GMT+01). As a result, a daylight saving time match would never |
| 1307 |
occur. |
| 1308 |
|
| 1309 |
Since (if the date falls during a daylight saving time period) you |
| 1310 |
usually want to use a time zone that has that offset in daylight |
| 1311 |
saving time, the default is now to check daylight saving time zones |
| 1312 |
first, followed by standard times. |
| 1313 |
|
| 1314 |
See the Date::Manip::TZ manual (under the zone method) for more |
| 1315 |
information. |
| 1316 |
|
| 1317 |
- Bug fixes |
| 1318 |
Fixed a bug where Date_ConvTZ not working correctly with time zones |
| 1319 |
specified by offset. Chris Butler |
| 1320 |
|
| 1321 |
Fixed a bug where business mode calculations involving minutes was |
| 1322 |
not handled correctly. Damien Moore |
| 1323 |
|
| 1324 |
Fixed a bug where business mode calculations failed in some cases. |
| 1325 |
RT 56638 |
| 1326 |
|
| 1327 |
- Time zone fixes |
| 1328 |
Newest zoneinfo data (tzdata 2010i) |
| 1329 |
|
| 1330 |
Changed Date::Manip::TZ::zone so "dst" is sometimes the default |
| 1331 |
$dstflag. Based on the bug report by Chris Butler. |
| 1332 |
|
| 1333 |
OpenUNIX puts a colon at the start of some time zones. It's removed. |
| 1334 |
Jean Hassler |
| 1335 |
|
| 1336 |
- Test fixes |
| 1337 |
Converted tests to Test::Inter |
| 1338 |
|
| 1339 |
- Documentation fixes |
| 1340 |
Fixed a documentation bug in Date::Manip::TZ where "stdonly" was |
| 1341 |
listed as the default value for $dstflag, but in actuality, "std" is |
| 1342 |
the default. |
| 1343 |
|
| 1344 |
6.07 2010-02-05 |
| 1345 |
- Bug fixes |
| 1346 |
Fixed bug in Date_TimeZone where it wasn't returning the time zone. |
| 1347 |
Robert Eden |
| 1348 |
|
| 1349 |
6.06 2010-02-05 |
| 1350 |
- Bug fixes |
| 1351 |
Minor bug where %Z printf format didn't always work. |
| 1352 |
|
| 1353 |
Added support for 5pm back in (it was omitted accidentally). Mark |
| 1354 |
Kennedy |
| 1355 |
|
| 1356 |
Fixed a minor warning. Morten Bjoernsvik |
| 1357 |
|
| 1358 |
Some additional speedups. |
| 1359 |
|
| 1360 |
- Time zone fixes |
| 1361 |
Newest zoneinfo data (tzdata 2010b) |
| 1362 |
|
| 1363 |
Added dm_zdump example script. |
| 1364 |
|
| 1365 |
Improved TZ::periods functionality |
| 1366 |
|
| 1367 |
Fixed bug in Date_ConvTZ where empty values weren't defaulting to |
| 1368 |
local time zone. Robert Eden |
| 1369 |
|
| 1370 |
Fixed a couple of problems in the generated time zones for some odd |
| 1371 |
cases (America/Resolute and Asia/Tehran). |
| 1372 |
|
| 1373 |
6.05 2009-12-09 |
| 1374 |
- (!) %z format |
| 1375 |
In Date::Manip 5.xx, the %z format in UnixDate printed the offset in |
| 1376 |
the form -0500. In 6.00, I changed that to -05:00:00, but this broke |
| 1377 |
RFC 822 compliance. |
| 1378 |
|
| 1379 |
I've changed %z back to -0500, and introduced a new format (%N) |
| 1380 |
which returns -05:00:00. |
| 1381 |
|
| 1382 |
Incidentally, this is the LAST unused letter, so I am now going to |
| 1383 |
have to either stop adding formats, or add some extended format |
| 1384 |
syntax. Not sure yet which, but this may involve a backwards |
| 1385 |
incompatible change in the future. |
| 1386 |
|
| 1387 |
- (*) Significant speedups. |
| 1388 |
Thanks to Moritz Lenz and BrowserUK on perlmonks for suggestions |
| 1389 |
(and a number of other people on perlmonks for suggestions that I |
| 1390 |
did not end up using, but which provided a great discussion). |
| 1391 |
|
| 1392 |
- Bug fixes |
| 1393 |
Fixed a bug in parse_date where the current time was getting used |
| 1394 |
instead of the documented 00:00:00 |
| 1395 |
|
| 1396 |
Bug fix where DateCalc didn't work with $mode in some cases. |
| 1397 |
|
| 1398 |
Fixed Makefile.PL/Build.PL to handle Win32::TieRegistry requirement. |
| 1399 |
|
| 1400 |
Changed %z printf behavior back to 5.xx and added %N format. Gilles |
| 1401 |
Lamiral |
| 1402 |
|
| 1403 |
Added dm_date example script. |
| 1404 |
|
| 1405 |
- Time zone fixes |
| 1406 |
Fixed bug where non-English Windows versions didn't get the time |
| 1407 |
zone. Thanks to Rene Schickbauer for testing. |
| 1408 |
|
| 1409 |
- Test fixes |
| 1410 |
Reduced the precision of 1 test to avoid a rounding difference when |
| 1411 |
using a perl compiled with uselongdouble. Andreas Koenig |
| 1412 |
|
| 1413 |
6.04 2009-11-25 |
| 1414 |
- Bug fixes |
| 1415 |
Fixed a bug where events were not interpreted in the correct time |
| 1416 |
zone if SetDate/ForceDate used. |
| 1417 |
|
| 1418 |
6.03 2009-11-24 |
| 1419 |
- Bug fixes |
| 1420 |
Corrects a backward incompatibility with UnixDate. Rene Schickbauer |
| 1421 |
|
| 1422 |
- Test fixes |
| 1423 |
A couple more corrections to the tests. |
| 1424 |
|
| 1425 |
6.02 2009-11-24 |
| 1426 |
- Bug fixes |
| 1427 |
Disabled curr_zone_methods when taint checking on. I believe that |
| 1428 |
Date::Manip is completely taint friendly at this point. |
| 1429 |
|
| 1430 |
- Test fixes |
| 1431 |
A quick fix to make sure that the tests run correctly in other time |
| 1432 |
zones. |
| 1433 |
|
| 1434 |
6.01 2009-11-23 |
| 1435 |
- Bug fixes |
| 1436 |
(*) Fixed a bug where dates were sometimes getting the wrong time |
| 1437 |
zone when SetDate/ForceDate in effect. |
| 1438 |
|
| 1439 |
6.00 2009-11-23 |
| 1440 |
- First release of the 6.xx series |
| 1441 |
Date::Manip 6.00 is a total rethink of the module, and a nearly |
| 1442 |
complete rewrite. Please refer to the Date::Manip::Changes5to6 |
| 1443 |
document for a list of incompatible changes. |
| 1444 |
|
| 1445 |
- Reorganization |
| 1446 |
(*) Massive reorganization and near total rewrite. |
| 1447 |
|
| 1448 |
(*) Broke into several smaller modules |
| 1449 |
|
| 1450 |
- New Features |
| 1451 |
(*) Full time zone support (using tzdata 2009s) |
| 1452 |
|
| 1453 |
Added some functionality (suggested by James Elson to improve |
| 1454 |
setting the "current time". Done with the ForceDate config variable. |
| 1455 |
|
| 1456 |
(*) Converted languages to YAML for much easier maintenance. Patch |
| 1457 |
and suggestion provided by Evan Carroll |
| 1458 |
|
| 1459 |
Added much better formats for deltas. Suggested by Jim Hranicky. |
| 1460 |
|
| 1461 |
Borrowed the _FindWindowsTZName function from the DateTime-TimeZone |
| 1462 |
module. |
| 1463 |
|
| 1464 |
Added SetDate config variable (based on a suggestion by Christian |
| 1465 |
Campbell). |
| 1466 |
|
| 1467 |
Added parse_format which was first suggested by Kim Ryan. |
| 1468 |
|
| 1469 |
- Other changes |
| 1470 |
Several config variables deprecated |
| 1471 |
|
| 1472 |
Thanks to Jonathan Hogue for helping test Windows additions. |
| 1473 |
|
| 1474 |
- Bug fixes (correcting problems in the 5.xx releases) |
| 1475 |
Fixed a bug where "YYtoYYYY=c" wouldn't work. |
| 1476 |
|
| 1477 |
VMS bugfix to not call `date` command. Lane |
| 1478 |
|
| 1479 |
New Year's Day defined using a recurrence which might push the |
| 1480 |
observed day to the previous year was broken. Reported by Jerry |
| 1481 |
Wilcox. |
| 1482 |
|
| 1483 |
- Language fixes |
| 1484 |
Fixed typo in Turkish translation. |
| 1485 |
|
| 1486 |
Spelling fix in Dutch. Bart Van Loon |
| 1487 |
|
| 1488 |
- Additional credits |
| 1489 |
I have received many suggestions over time which were automatically |
| 1490 |
handled during the 6.00 rewrite. Although the changes weren't made |
| 1491 |
because of the suggestions specifically, I wanted to acknowledge |
| 1492 |
them since I appreciate the suggestions. |
| 1493 |
|
| 1494 |
I believe the first person to suggest writing Date::Manip as an OO |
| 1495 |
module was Eduard Derksen. |
| 1496 |
|
| 1497 |
Delta_Format initialization done outside of the function. Eric Boehm |
| 1498 |
|
| 1499 |
Added $subtract to calculation routines. First suggested by Steve |
| 1500 |
Berlage. |
| 1501 |
|
| 1502 |
Added ability to set individual parts of the date |
| 1503 |
(Date::Manip::Date::set). First suggested by Martin Thurn. |
| 1504 |
|
| 1505 |
UnixDate (i.e. Date::Manip::Date::printf) only calculates formats |
| 1506 |
when they are needed. Eduard Derksen |
| 1507 |
|
| 1508 |
Parsing will skip some date/time formats if requested. This was |
| 1509 |
first suggested by Eduard Derksen. |
| 1510 |
|
| 1511 |
It has been suggested several times to support multiple languages, |
| 1512 |
multiple config files, or multiple sets of Date_Init options. These |
| 1513 |
suggestions (by Meng Fang, Ed Avis, Christian Campbell, and perhaps |
| 1514 |
others) were at the back of my mind as I developed the |
| 1515 |
Date::Manip::Base class. |
| 1516 |
|
| 1517 |
The regular expressions are all i18n friendly in anticipation of |
| 1518 |
much better support for localization. First suggested by Alex |
| 1519 |
Kapranoff. |
| 1520 |
|
| 1521 |
Parsing a date ('today', 'Monday') gives a time of '00:00:00'. |
| 1522 |
Suggested by Mark Aitchison. |
| 1523 |
|
| 1524 |
Working with fractional days was suggested by Peter van Hardenberg. |
| 1525 |
This is implemented in Date::Manip::Base::day_of_year method. |
| 1526 |
|