-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathChanges
More file actions
1510 lines (1107 loc) · 52.1 KB
/
Copy pathChanges
File metadata and controls
1510 lines (1107 loc) · 52.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Written by:
Sullivan Beck (sbeck@cpan.org)
Any suggestions, bug reports, or donations :-) should be sent to me.
This describes the changes made to the Date::Manip module in the 6.xx
series of releases. Major changes are marked with asterisks (*).
Backward incompatible changes are marked with an exclamation mark (!).
For changes in older (5.xx releases), refer to the following documents:
Date::Manip::Changes5
Date::Manip::Changes5to6
Also, the Changes document is automatically generated from the document:
Date::Manip::Changes6
and that document should be considered the canonical source for all change
related information.
6.99 2026-03-02
- Time zone fixes
Newest zoneinfo data (tzdata 2026a).
6.98 2025-06-01
- Time zone fixes
Newest zoneinfo data (tzdata 2025b).
6.97 2025-03-02
- Fix to avoid warnings in perl 5.41.*
The newest development version of perl gives 'possible precedence
problem' warnings for a few lines. Those lines have been fixed by
adding some parentheses to avoid any precedence ambiguity.
Reported in GitHub #51
- Added a requested alternative to 'ago'.
Requested in GitHub #50
- Time zone fixes
Newest zoneinfo data (tzdata 2025a).
6.96 2024-12-04
- Time zone fixes
There were no new timezone fixes on 2024-06-01 or 2024-09-01, so no
release made then.
Newest zoneinfo data (tzdata 2024b).
6.95 2024-03-01
- Better support for weeks of the year
Added the Week1ofYear config variable and deprecated the Jan1Week1
variable. The first week of the year can now be specified much more
easily.
- Support for the standard POSIX strftime directives in printf
The Date::Manip::Date::printf method uses a set of directives which
is similar, but not identical, to the POSIX strftime directives.
A new config variable Use_POSIX_Printf has been added. If set, the
printf method will use the POSIX strftime directives more fully
(see the PRINTF DIRECTIVES section in the Date::Manip::Date POD for
more information).
Reported in GitHub #48
- Time zone fixes
Newest zoneinfo data (tzdata 2024a).
6.94 2024-01-09
- Time zone fixes
The 6.93 release didn't include the windows timezone aliases from
GitHub #46. Pointed out by Mike Capella.
Newest zoneinfo data (tzdata 2023d).
- Documentation fixes
Fixed a grammatical issue. GitHub #49
6.93 2023-12-01
- Bug fixes
Bug where Date::Manip::TZ::convert wasn't returning an error code
if an invalid date was passed in. GitHub #47.
- Time zone fixes
Updated the windows timezone aliases. They were out-of-date. See
GitHub #46.
- Test fixes
In the test scripts, changed RELEASE_TESTING variable. Now use a
release-specific testing variable rather than RELEASE_TESTING. See
GitHub #17 in my Locale-Codes module for details.
6.92 2023-06-07
- Time zone fixes
Newest zoneinfo data (tzdata 2023c).
- Documentation fixes
Typo fix. Reported by Derek Terveer
6.91 2023-03-01
- Fixed bug where timezone alias wasn't handled
On linux systems configured to be in a timezone that is an alias,
the system timezone wasn't recognized, and it defaulted to GMT.
This is now fixed. Patch supplied by Sandi Wallendahl (GitHub #43)
6.90 2022-12-02
- Time zone fixes
Aliases in the tzdata database were not being added to the timezone
data. Reported in GitHub issue #40.
The UTC timezone is now named Etc/UTC instead of UTC to be in line
with the aliases.
Newest zoneinfo data (tzdata 2022g).
- Language fixes
Additions to the Polish translation. GitHub issue #41.
Additions to several languages. GitHub issue #42.
Added some support for per-language parsing rules to respond to
GitHub issue #42.
- Documentation fixes
The version numbers in the change log was messed up due to a
skipped release (no new timezone fixes that time). Fixed.
6.89 2022-09-01
- (!) Date::Manip 5.xx interface to be removed
The old version of Date::Manip (version 5.xx) has been distributed
as part of the package in order to support versions of perl older
than 5.10 . I see no valid reason to continue to support that, so
as of version 7.00, Date::Manip will only include the newer
interfaces (which require perl 5.10 or newer). There are no plans
to deprecate the functional interface.
- Time zone fixes
Newest zoneinfo data (tzdata 2022c).
6.88 2022-06-02
- Packaging problem.
I generated a broken MANIFEST file in the previous release.
Reported in GitHub issue #39.
6.87 2022-06-01
- Bug fixes
The package was being generated with an incorrect MANIFEST file.
This is now fixed. RT 140075
- Time zone fixes
There were no new timezone fixes on 2022-03-01, so no release made
then.
Newest zoneinfo data (tzdata 2022a).
6.86 2021-11-15
- Change warn to carp
All warnings are now issued with the carp command rather than warn.
Requested in GitHub pull request #18, but that request was not used
because it only changed the uses in the Date::Manip::Date module.
- Bug fixes
Fixed a bug where the next/prev Date::Manip::Recur methods gave
incorrect results when there are no dates that match the criteria.
(GitHub #36)
- Time zone fixes
There were no new timezone fixes on 2021-06-01 or 2021-09-01, so no
releases made then.
Newest zoneinfo data (tzdata 2021e). (GitHub #37)
6.85 2021-03-01
- Test fixes
Missed some tests that were failing.
6.84 2021-03-01
- Time zone fixes
Newest zoneinfo data (tzdata 2021a).
- Language fixes
Corrections and additions to Italian. Patch supplied by Leo
Cacciari (GitHub #33)
6.83 2020-12-01
- Time zone fixes
No new zoneinfo data so no release on 2020-09-01.
Newest zoneinfo data (tzdata 2020d). Requested by Shawn Carroll
(GitHub #32)
6.82 2020-06-01
- Time zone fixes
Newest zoneinfo data (tzdata 2020a).
6.81 2020-03-01
- Messed up the 6.80 package. This release fixes it.
6.80 2020-03-01
- Missed Changes entry for previous version.
Reported by Tina Muller (GitHub #31)
6.79 2019-12-01
- Time zone fixes
Newest zoneinfo data (tzdata 2019c).
6.78 2019-08-29
- Time zone fixes
Newest zoneinfo data (tzdata 2019b).
- Documentation fixes
Fixed a broken link. Mohammad S Anwar (GitHub #29)
6.77 2019-06-01
- Time zone fixes
Newest zoneinfo data (tzdata 2019a).
6.76 2019-03-01
- Fixed bug in Date::Manip::Date::list_holidays.
It was using 'now' instead of the stored date. Douglas DeStafeno
- Reordered TZ detection methods
Moved checking the tzdata files to lower priority to avoid a pretty
unusual situation in docker. Sven Nierlein (GitHub #20)
- Time zone fixes
Newest zoneinfo data (tzdata 2018i). Requested by Shawn C Carroll
(GitHub #28)
6.75 2018-12-03
- Fixed packaging problems
Version 6.74 was not packaged correctly. Version wasn't set
correctly in a few files and there were invalid entries in
Makefile.PL. RT 127870.
6.74 2018-12-01
- Removed travis file from the tarball
The tarball had a .travis.yml file in it that wasn't in the MANIFEST
file. Since the MANIFEST file is automatically generated by the perl
mkmanifest tool, since it didn't see the .travis.yml file, I have
excluded it from the tarball. Reported by Mohammad S Anwar on GitHub
(#23)
- Time zone fixes
Newest zoneinfo data (tzdata 2018e)
6.73 2018-09-01
- Fixed math on non-64-bit architectures
Much of the math in Date::Manip::Base is in a 'use integer' section.
This math can overflow in some cases in non-64-bit architectures.
Fixed the cases where this would reasonably occur. Reported by
Daniel Albers (GitHub #22). Also reported and tested in RT 126052.
- Bug in normalizing estimated business deltas
While working on the non-64-bit issue, it uncovered a bug where
normalizing estimated business deltas was wrong. It had never been
reported, and it was only off by a couple seconds in some rare
situations.
6.72 2018-06-06
- Fixed recurrence bug
The fix in the previous version for a rare recurrence problem broke
another recurrence form. It is now corrected. Michael Schout (GitHub
#20)
- Fixed version problem
The wrong version was included in two files for some reason. This is
fixed.
- Documentation fixes
Fixed a grammatical error reported by Xavier Guimard (GitHub #19).
6.71 2018-06-01
- Fixed an extremely rare problem with recurrences
It is possible to specify a recurrence that never produces a valid
date. In these cases, looking for dates went into an infinite loop.
The MaxRecurAttempts config variable was added which will stop that
from happening. If no occurrence was found, an error condition will
be set. Dean Hamstead (RT 123708)
- Changes file supported
It was requested that I include a valid Changes file. I wrote a
simple script to convert the Change6.pod file into a valid Change
file. The Changes6.pod file is still the canonical source of this
information! Requested by H. Merijn Brand
- Fix for timezone determination
On MacOS X High Sierra, some of the timezone files were symlinks,
but not properly followed. This was fixed by Stu Tomlinson (GitHub
#15).
- Time zone fixes
Newest zoneinfo data (tzdata 2018e)
- Documentation fixes
Minor fix provided by Mohammad S Anwar (GitHub #17)
6.70 2018-03-01
- (*) (!) Changes to deltas
Improved handling of deltas to better support the different types of
deltas. Formalized how the semi-exact portions of the delta are used
to produce the results that most people would expect.
The type can now be specified to guarantee several behaviors.
Changed the arguments (in a backward compatible way) to several
methods. Explicitly added a new type (estimated) which was there
previously, but could not be manually specified.
The convert function continues to support converting from a less
exact type to a more exact type, but this is deprecated and will be
removed in version 7.00.
This was prompted by a bug reported by Ian Gibbs.
- (*) (!) Deprecated some parts of Date::Manip::Delta
The options passed to the set and parse methods have changed. The
old style will be removed in version 7.00.
Deltas will also no longer support the 'exact' and 'approximate'
strings (which have not been supported for some time). These will be
removed in 7.00 as well.
- Deprecation of TZ postponed
The deprecation of the TZ variable has been postponed to version
7.00.
- Some speed improvements
I converted some of the functions to use faster algorithms.
Previously, the steps were worked out using logical time/calendar
based calculations. These were replaced with non-intuitive numerical
calculations that gave the same result faster.
- Changed behavior if timezone not determined
If the system timezone cannot be determined using any of the methods
supplied by Date::Manip, operations will be done in the GMT
timezone. Previously, Date::Manip would simply fail to load. Based
on a report by Kent Fredric (RT 123229).
- Fixed Makefile.PL
The list of what what is provided did not include the path to the
file providing each module. I've fixed the Makefile.PL as well as
the META files. Graham Knop (GitHub #13)
- Time zone fixes
Newest zoneinfo data (tzdata 2018c)
- Documentation fixes
Rewrote Date::Manip::Delta page to reflect changes, and clean up the
documentation in general.
6.60 2017-09-01
- Bug fixes
Fixed a bug where if a recurrence had no interval, start and end
dates passed in to the dates method would not work. PJ-DSI-DevOps
(GitHub #12).
- Documentation fixes
Clarified Date::Manip::TZ::all_periods. Based on discussion with
Peter Pfannenschmid.
6.59 2017-06-01
- Time zone fixes
Newest zoneinfo data (tzdata 2017b)
- Documentation fixes
Improved some of the documentation.
6.58 2017-03-01
- Better support for $mode in DateCalc.
DateCalc (in DM6) did not support all values for $mode. Now it does.
- Bug fixes
Parsing a date like 01/02/2016 and calling printf with %e gave '02'
instead of ' 2'. Robert Wohlfarth (RT 119787).
Fixed a problem where the tzdata method of determining the timezone
was producing an error which wasn't correct. John (GitHub #8)
- Time zone fixes
Newest zoneinfo data (tzdata 2017a)
6.57 2016-12-01
- Time zone fixes
Newest zoneinfo data (tzdata 2016j)
- Test fixes
A faulty test was failing in a few places. RT 118705
Another test was failing due to a perl bug that popped up in 5.25.7.
Tweaked the test to bypass the bug. Kent Fredric (RT 118862)
6.56 2016-09-09
- Test fixes
A faulty test was failing most places. New release to correct that
problem. Slaven Rezic (RT 117404)
6.55 2016-09-01
- Fixed bug where $::TZ wasn't used
The $::TZ variable was not getting interpreted correctly when
searching for a timezone. Steven Hartland (RT 114949)
- Fixed bug where recurrences were not parsed correctly
Passing in incorrect values for a field was not trapped in all cases
and it led to problems. All values passed in to a recurrence are now
correctly checked. Albert Hilazo (GitHub #7).
- Fixed a bug in some methods of creating new objects
Some methods of creating new objects based on existing objects did
not correctly use the existing object. Bug has never been reported,
but was discovered when adding tests to get 100% coverage.
- Time zone fixes
Newest zoneinfo data (tzdata 2016f)
- Test fixes
Added a number of new tests based on Devel::Cover.
6.54 2016-05-31
- Deprecation of Date::Manip 5.xx tests
By default, the Date::Manip 5.xx tests will no longer run. Changes
to the timezone data can cause failures. Since Date::Manip 5.xx is
no longer supported in any way, these tests will no longer run on a
system where 6.xx can be run. Richard Jelinek.
- Deprecation of TZ postponed
The deprecation of the TZ variable has been postponed to March 2017.
I decided that 1 year was not enough notice (especially since not
everyone will have updated Date::Manip since March 2015 when the
warning was added.
- Bug fixes
Changed requirement for ExtUtils::MakeMaker to 6.67_01. Quin Arnold
(RT 112286)
Fixed a bug where a timezone abbreviation was not parsed correctly
when passed in as a value to the SetDate, ForceDate, or TZ config
variables. Based on a report in perlmonks.org.
- Time zone fixes
Newest zoneinfo data (tzdata 2016d)
Made some improvements to how I handled the timezone data which
resulted in a few of the default timezones being changed.
- Documentation fixes
Fixed one more typo. Gregor Herrmann (RT 114095)
Clarified the Config document. Based on a report in perlmonks.org.
6.53 2016-03-02
- Bug fixes
Date::Manip::Delta::cmp had a bug in it's comparison. Ian Gibbs.
The secs_since_1970_GMT method was missing a test to see if it was a
valid object. Michael Stevens (RT 111915)
- Time zone fixes
Newest zoneinfo data (tzdata 2016a)
- Documentation fixes
Lots of typos fixed. I was using podspell to do spell checking, but
it was discarding too much real text (which wasn't getting checked
as a result). Switched to pod2text which does a better job. Gregor
Herrmann (RT 110025)
6.52 2015-12-01
- Added date ranges on unmodified dates in Recur
The date range can now be specified for either the fully modified
dates, or the unmodified dates. This will make it easier to work
with holidays in some instances. Based on
<http://perlmonks.org/?node_id=1148735>.
- Added IWn and NWn recurrence modifiers
Based on <http://perlmonks.org/?node_id=1148735>.
- (!) Reworked holidays slightly
Previously, every line in the Holidays section defined a unique
holiday. Now, the names determine the list of holidays.
It is not allowed to have two separate holidays named exactly the
same. It IS allowed to have complex holidays that require two (or
more) lines in the Holidays section to define them completely.
Based on <http://perlmonks.org/?node_id=1148735>.
- Bug fixes
Fixed a bug where the RecurRange config variable wasn't getting
used.
Fixed a bug where some deltas were not parsed correctly as dates.
Salvatore Bonaccorso (RT 109600)
- Time zone fixes
Newest zoneinfo data (tzdata 2015g)
- Test fixes
Added a number of new tests based on Devel::Cover.
6.51 2015-09-01
- Changes suggested by perlcritic
Played with perlcritic and made a few minor changes based on it's
suggestions. I doubt I will use perlcritic significantly.
- (!) Date::Manip::Delta::value now returns an empty string
If a delta has an error, or no valid delta in it, the value method
returns an empty string instead of undef. This is to be consistent
with the Date::Manip::Date::value method which returns an empty
string.
- Bug fixes
Fixed a bug where date/delta calculations with deltas that are too
large was not working correctly. They now set an error condition and
fail. Jared Selengut (RT 105737)
Fixed a bug introduced by the previous patch and luckily discovered
pre-release by Tom Wyant.
Fixed code that produced a warning in 5.22.0. Tom Wyant
- Improved DM6 ParseDate and ParseDateString
Added @opts argument. Based on report by Vitaly Shupak (RT 105622).
- Time zone fixes
Newest zoneinfo data (tzdata 2015f)
Now uses /etc/localtime as a method to determine the local timezone.
Patch supplied by Tom Wyant (RT 105159) (modified by me). The patch
uses some code derived from DateTime::TimeZone .
Clearer message when the date is not valid in the timezone.
- Test fixes
Added a number of new tests based on Devel::Cover. Over the next
several releases, I intend to continue to add tests until coverage
is 100%.
- Documentation fixes
Fixed a typo. Gregor Herrmann (RT 105546)
6.50 2015-06-01
- Bug fixes
Not really a bug, but 6.49 got a bunch of NYTprof data bundled with
it by mistake. It's been removed. Olivier Mengue (RT 103252)
Fixed a bug where information about whether a date was complete or
truncated was discarded. Jim Avera
Fixed a bug where SetDate with a zone alias failed.
Added the Format_MMMYYYY config variable to allow the truncated
format mmmYYYY to be parsed instead of mmmDDYY. David W. Morganwalp
and Glenn Golden (RT 103142)
Fixed Makefile.PL/Build.PL to correct for a change on perl on
windows which changes a module prereq requirement. Alexandr Ciornii
- Time zone fixes
Newest zoneinfo data (tzdata 2015d)
Added aliases for older HP-UX time zones. H. Merijn Brand (RT
104141)
- Documentation fixes
Fixed URL for tzdata. Mohammad S Anwar (GitHub #3).
Better POD formats.
Fixed a documentation error. Glenn Golden (RT 103966)
6.49 2015-03-01
- Added a deprecation warning
The TZ config variable is going away. Added a deprecation warning.
- Some speedups for timezone handling
Based on a report by Glenn Golden (RT 102284), I have done some
optimization of the timezone handling code.
- Bug fixes
Added the missing is_date base method to Date::Manip::Base. Mario
Domgoergen.
- Time zone fixes
Newest zoneinfo data (tzdata 2015a)
- Language fixes
A number of corrections by Nicholas Riley
6.48 2014-12-01
- Put repository on GitHub
Suggested by Gabor Szabo
- parse_time now parses ISO 8601 times
The parse_time routine wouldn't correctly parse ISO 8601 times. This
is now fixed.
- Parsing special dates with timezones now works
Parsing special date formats with timezones is now supported such
as:
Christmas at noon PST
in 3 days at noon PST
now PST
epoch 3000000 PST
- dm_zdump modified
To match the newest version of zdump, the gmtoff is now added at the
end of each line.
- Bug fixes
Fixed a bug in the printf method that would not handle embedded
newlines correctly (and resulted in an infinite loop if it were
preceded by a '%'). Henrique Martins
Fixed a bug where '24:00' was not parsed correctly (though
'24:00:00' was).
Fixed a bug where fractional values separated by a comma weren't
parsed correctly.
- Time zone fixes
Newest zoneinfo data (tzdata 2014j)
6.47 2014-09-01
- Time zone fixes
Newest zoneinfo data (tzdata 2014f)
- Language fixes
Fixed some encoding errors in the language pod documentation.
6.46 2014-07-08
- Broken distribution
The distribution contained an temporary edit file that caused
problems. Alexandr Ciornii (RT 96459)
- Time zone fixes
Newest zoneinfo data (tzdata 2014e)
- Language fixes
Added some plural abbreviations that were missing. Glenn Golden (RT
96944)
6.45 2014-06-05
- Fixed a test
One test was failing (reported by Constantine Peresypkin (RT 96249)
as well as several CPAN Tester reports).
6.44 2014-06-01
- (*) Improvements to UTF8 handling
A number of changes based on a report and other discussion with Yuri
Nikulin (RT 93545) including:
Case insensitive matching of UTF8 strings should work all the time.
Fixed two significant bugs in regexps for parsing dates.
Improvements to UTF8 handling.
Corrected some problems with Russian and added the cp1251 encoding.
One correction to Romanian.
Added several new test scripts.
Preliminary patches were supplied by Yuri.
- New features
Modified the parse_format function to return %+ if desired. Mike
Cappella
- Time zone fixes
Newest zoneinfo data (tzdata 2014c)
- Documentation fixes
Clarified some DM6 functions. David Close.
Fixed a typo. Mike Cappella (RT 95619)
6.43 2014-03-03
- Several changes to distribution files
I made several changes to Build.PL, Makefile.PL, META.yml in order
to improve the quality (or kwalitee) of the module. None of these
should impact anyone using the module.
- Time zone fixes
Newest zoneinfo data (tzdata 2013i)
- Documentation fixes
Cleaned up some of the Recur documentation. Suggested by Warren
Young (RT 92794)
6.42 2013-12-02
- Added ParseDateFormat function
Added the ParseDateFormat function to the DM6 functional interface
in response to Eli Lindsey (RT 89286).
- Added Common Log format
Added the date format used in apache logs: 11/Oct/2000:13:55:36
-0700 Eli Lindsey (RT 89286).
- Time zone fixes
Newest zoneinfo data (tzdata 2013h)
- Bug fixes
Fixed a bug where dates of the form of a delta with a timezone
attached (i.e. "1 day ago at midnight UTC") failed. Ludovic Lange
(RT 89256)
Fixed a bug where events handling gave a warning if there were no
events that applied. RT 90344
6.41 2013-09-05
- Bug fixes
Removed a .swp file accidentally left in the package. RT 85845
Fixed a bug in parse_format where times between 00:00:00 and
01:00:00 weren't parsed correctly. Ole Nomann Thomsen
Fixed generated META.* files to not require Module::Build 0.39.
Carsten Wolff (RT 86137)
Fixed a bug where parse_format did not work with a '%s' format. Mark
Keisler (RT 87498)
Fixed a bug where find_encoding wasn't imported from the Encode
module. Krishna Subramanian (RT 87665)
Fixed a bug where recurrences with no interval did not work if a
start and end date were specified, and no dates fell in that range.
Jan Pradac
- Time zone fixes
Newest zoneinfo data (tzdata 2013d)
6.40 2013-06-01
- Removed PODs
POD documentation is no longer generated for Date::Manip::TZ::* and
Date::Manip::Offset::* modules.
- Time zone fixes
Newest zoneinfo data (tzdata 2013c)
6.39 2013-03-01
- Added the $mode argument to ParseDateDelta
The ParseDateDelta function (in functional interface) did not allow
you to force a parsed delta to semi or approx where appropriate.
This was added. Based on RT 82991.
- Added get_config method
The get_config method was added to all classes. Suggested by
Philippe Poilbarbe.
- Language fixes
Fixed a German language problem. Gosta Oelstrom
- Documentation fixes
Documented workaround for dmake problem in strawberry perl.
Discussed on perlmonks and Martin Thurn (RT 79837).
Clarified the Examples page. Winston Heng
6.38 2013-01-08
- (*) Tar file format corrected
Problems were reported on several OSes by people unable to install
Date::Manip (and other modules). It turns out that the version of
tar distributed by my linux distro (OpenSuSE) uses the 'posix'
format instead of the traditional 'gnu' format by default. This
causes problems for some versions of tar. I have had reports from
OSX, Windows, and SunOS. Future versions of Date::Manip will be
explicitly distributed in the 'gnu' tar archive format.
Reported by Jay Allen and John Ralls (RT 80594).
- (*) Date::Manip 5.xx end-of-life
Date::Manip 5.xx is now officially out of support. I will not be
doing any further work on it. The only exception is that I will
consider adding user supplied patches on a case-by-case basis.
If at all possible, please use Date::Manip 6.xx instead.
- (!) Removed some deprecated config variables
The following config variables have been removed.
IntCharSet
RecurNumFudgeDays
6.37 2012-12-01
- Bug fixes
Fixed a bug where ISO 8601 format YYYY-WXX-D didn't work if the week
ended up in December. Gordon Lugauer.
- Time zone fixes
Newest zoneinfo data (tzdata 2012j)
- Documentation fixes
Spelling error fixed. RT 80621
6.36 2012-10-31
- Fix version numbers
This was an interim release to fix the version numbers (6.35 was
released with all of the version numbers 6.34).
6.35 2012-10-31
- Fix PATH
This version was an interim release to fix the problem with the PATH
being replaced.
- Removed dependency on YAML
I've reverted the language data files to perl literals instead of
YAML. Though not quite as easy to maintain, it solves a few
problems. Patch provided by Christopher Madsen.
- Bug fixes
Last versions fix for RT 78566 overrode the PATH even when that
wasn't appropriate. This is fixed. Report and patch supplied by Tom
Wyant (RT 80435).
6.34 2012-09-04
- This is a bug fix so that the PATH won't break non-unix installs.
- Bug fixes
Put the PATH inside the Unix section so it doesn't affect non-unix
environments. Geoff Rowell
6.33 2012-09-01
- Improvements to Date::Manip::Delta
Added convert method. This had been planned since 6.30, but based
on a discussion with Henrique Martins, I moved it up in priority.
Cleaned up handling of delta field lengths (they are now only
calculated once.
Added cmp method. Henrique Martins
- Bug fixes
The language modules read from the DATA section, but I never closed
the filehandle. This is fixed now. Patch by Doru Theodor Petrescu
Added better loading of DM5/DM6 modules. Evan Carroll (RT 78152)
Added a secure PATH to TZ.pm for taint reasons. In response to Dan
Pritts (RT 78566)
- Time zone fixes
Now supports timezones in files with spaces where there should be
underscores. This occurs in RHEL desktop. Dan Pritts (RT 78566)
Newest zoneinfo data (tzdata 2012e)
- Documentation fixes
Minor fix. Henrique Martins
6.32 2012-06-01
- Modified Build.PL
Build.PL now has better support for building (or not building) HTML
files. Apparently this is slow on Windows. Patch provide by Manoj
Kumar (RT 75118)
- Bug fixes
Fixed a bug in business day calculations. Frederic Briere (RT 76336)
Fixed a bug where Delta/Recur objects weren't correctly created.
Zsban Ambrus
Fixed a bug where SetDate/ForceDate config variables could not be
included in a file. Jerry Wilcox
- Time zone fixes
Newest zoneinfo data (tzdata 2012c).
- Documentation fixes
Better support for UTF-8 in autogenerated language module pod files.
6.31 2012-03-01
- Added extended formats to printf method.
These include the %<A=NUM>, %<a=NUM>, %<v=NUM>, %<B=NUM>, %<b=NUM>,
%<p=NUM>, and %<E=NUM> formats. Chris Jackson
- Can now parse formats where the time and zone are not adjacent
A string like 'Jan 21 17:13:27 2010 -0400' can now be parsed.
Requested on perlmonks ('Can Date::Manip parse a unix timestamp'
thread).
- Added PeriodTimeSep config variable.
This allows you to use a period as a time separator. Ed Avis
- Holidays can be used as date strings
You can now parse a holiday name in the Date::Manip::Date::parse
method. For example, parse('Christmas'). Requested by Abigail.
- Added new recur modifiers
Added WDn, IBD, and NBD modifiers.
- Added a new date format
You can now parse '2nd day in May' formats. Randy Harmon
- More flexibility in parsing timezones with both offset and abbrev
If you include both the offset and abbreviation in the timezone
portion of a date, the parenthesis around the abbreviation are now
optional, so you can parse both:
-04:00 (EDT)
-04:00 EDT
Requested by Steven Melendez.
- Deltas now support fractional values.
You can now use a delta of 1.5 days. Martin Thurn (RT 42699)
- Multiple holidays supported
A date may now have multiple holidays. Keith Minkler
- Bug fixes
Fixed a bug where abbreviations were not being examined case
insensitively. Jurgen Muck
The Holidays section may be safely split across multiple config
files. A bug prevented this from working before.
- Language fixes
The Norwegian translation was broken due to a typo in the language
module.
Included complete documentation for each language.
Fixed a couple problems with Danish. Nicholas Oxhaj
Added Finnish (from a VERY old mail that I overlooked somehow).
Iikka Virkkunen
Cleaned up the values used by printf directives to give the expected
result.
- Documentation fixes
Fixed a typo. Nicholas Bamber
6.30 2012-01-11
- (*) (!) Reworked deltas
Much of the delta code was reworked.
The constraint that a day is treated as 24 hours was removed (by
adding the concept of semi-exact deltas) to better handle daylight
saving time calculations.
Made cosmetic changes to which signs will be included in a delta to
make the deltas more readable. Signs which are the same as the next
higher field will be omitted, even if they cross set boundaries.
Added support for non-normalized deltas. See the $no_normalize
option for the parse and set methods.
Removed limitations on subtract=2 not working with business
calculations.
Thanks to discussion on perlmonks, and RT 65774 that prompted me to
do this. I'd been wanting to do it for some time, but the discussion
on perlmonks made me realize that this needed to be much higher
priority.
- (!) Modified Delta_Format
In conjunction with the above work, added the 'semi' mode to
Delta_Format.
- (!) Removed some deprecated config variables
The following config variables have been removed.
GlobalCnf
IgnoreGlobalCnf
PersonalCnf
PersonalCnfPath
PathSep
Internal
DeltaSigns
UpdateCurrTZ
ConvTZ
OldConfigFiles
ResetWorkDay
- Time zone fixes
Newest zoneinfo data (tzdata 2011n). RT 71595
Corrects a bug where +0000 and -0000 offsets were not parsed
correctly. Aaron Hall
The zoneinfo data includes rules more than 20 years in the future,
so we now store 30 years of future dates instead of 20 to catch
these rules.
When parsing the timezone portion of the date, timezone
abbreviations now take higher precedence than zone names (since that
is how timezone information is typically specified). That only
impacts dates where the a timezone name is the same as an
abbreviation, such as 'CET'.
Previously, a date with CET in it was interpreted as in the CET
timezone. Now it is interpreted as in a timezone with the CET
abbreviation.
- Better handling of undef in DM6
The date/delta parsing routines in DM6 will now handle an undef
argument without issuing a warning. Earl C. Ruby III