Debian Codegraph @

lib/Date/Manip/Changes6.pod

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