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