Debian Codegraph @

lib/Date/Manip/Changes5.pod

raw
1 # Copyright (c) 1995-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 =pod
6
7 =head1 NAME
8
9 Date::Manip::Changes5 - changes in Date::Manip 5.xx
10
11 =head1 SYNOPSIS
12
13 This describes the changes made to the Date::Manip module up to the
14 time that 6.00 was released. Because 6.00 required a newer version
15 of perl (5.10 or higher), the old version was maintained.
16
17 When Date::Manip 6.10 was released, both versions were bundled
18 together (though how it was bundled changed when 6.14 was released).
19
20 This document describes all changes made to the old version of
21 Date::Manip.
22
23 For the most part, Date::Manip has remained backward compatible at
24 every release, but occasionally, a change is made which is backward
25 incompatible. These are marked with an exclamation mark (!).
26
27 =head1 VERSION 5.66 (Released with 6.51)
28
29 =over 4
30
31 =item Fixed a bug in Date_ConvTZ
32
33 Applied a patch supplied by Zhenyi Zhou which fixes a bug in Date_ConvTZ
34 where passing in an empty string did not work.
35
36 =back
37
38 =head1 VERSION 5.65 (Released with 6.37)
39
40 As of December 2012, Version 5 of Date::Manip will no longer be modified.
41 The 5.xx version was updated to 5.65 (but no changes were made), and this
42 version is expected to be the final release in the 5.xx series.
43
44 The one exception is that if someone submits a patch that applies cleanly
45 and causes zero failures in the test suite, I will consider adding it on
46 a case-by-cast bases.
47
48 Please use Date::Manip 6.xx instead.
49
50 =head1 VERSION 5.64 (Released with 6.32)
51
52 =over 4
53
54 =item Better handling of '0000' timezone
55
56 Applied a patch supplied by Ed Avis that improves handling of the '0000' timezone..
57
58 =back
59
60 =head1 VERSION 5.63 (Released with 6.26)
61
62 =over 4
63
64 =item Fixed business mode calculation
65
66 Applied a patch that I received some time ago to fix a business
67 mode calculation. Steve Tempest
68
69 =back
70
71 =head1 VERSION 5.62 (Released with 6.21)
72
73 No changes
74
75 =head1 VERSION 5.61 (Released with 6.20)
76
77 No changes
78
79 =head1 VERSION 5.60 (Released with 6.14)
80
81 =over 4
82
83 =item B<Fully integrated with 6.xx>
84
85 As of Date::Manip 6.14, the 5.xx release is fully integrated into the
86 distribution. Both will be installed automatically and you can switch
87 between them (if you have a recent version of perl). This simplifies
88 the package management process considerably. The downside is that
89 Date::Manip 6.xx will be installed, even if you do not have a recent
90 version of perl and cannot use it.
91
92 =back
93
94 =head1 VERSION 5.59 (Released with 6.12)
95
96 =over 4
97
98 =item Test fixes
99
100 Fix tests to work better on windows.
101
102 =back
103
104 =head1 VERSION 5.58 (Released with 6.11)
105
106 =over 4
107
108 =item Test fixes
109
110 Fixed a bug in some of the tests that were causing two tests to
111 fail. JD
112
113 Explicitly set TZ in all tests to avoid some failures (it got left out
114 of a few when it was bundled with 6.10).
115
116 =back
117
118 =head1 VERSION 5.57 (Released with 6.10)
119
120 =over 4
121
122 =item B<(*) Combined 5.xx and 6.xx>
123
124 As of 6.10, Date-Manip-6.xx will contain both the Date::Manip 5.xx and
125 6.xx modules. If perl 5.10 or higher is available, the 6.xx version
126 will be installed. For older versions of perl, the 5.xx version will
127 be installed.
128
129 This will allow all of the automatic module tools to work correctly.
130
131 =item Bug fixes
132
133 Fixed a bug where years earlier than 1000 AD failed in
134 calculations. John
135
136 =item Time zone fixes
137
138 Improved time zone detection. Stepan Kasal
139
140 =item Documentation fixes
141
142 Minor improvements. Josef Kreulich
143
144 =back
145
146 =head1 VERSION 5.56 (2010-02-24)
147
148 =over 4
149
150 =item Bug fixes
151
152 Date_PrevWorkDay and documentation fix. RT #17005
153
154 I accidentally included a require 5.10 which made Date::Manip not work
155 with earlier versions of perl. Nicholas Riley
156
157 =back
158
159 =head1 VERSION 5.55 (2010-02-22)
160
161 =over 4
162
163 =item B<(*) Added time zone abbreviations>
164
165 Date::Manip 5.xx now includes all of the time zone abbreviations from
166 version 6.xx (i.e. all of the abbreviations from the Olsen database).
167
168 =item Documentation fixes
169
170 Typo fix. ddascalescu
171
172 =back
173
174 =head1 VERSION 5.54 (2008-05-09)
175
176 =over 4
177
178 =item Released
179
180 =back
181
182 =head1 VERSION 5.53 (DEVELOPMENT)
183
184 =over 4
185
186 =item Bug fixes
187
188 Fix so it won't fail with "Too early to specify a build action"
189
190 =item CPANTS changes
191
192 Final changes to meet requirements on http://cpants.perl.org/
193
194 =back
195
196 =head1 VERSION 5.52 (2008-05-08)
197
198 =over 4
199
200 =item Released
201
202 =back
203
204 =head1 VERSION 5.51 (DEVELOPMENT)
205
206 =over 4
207
208 =item Bug fixes
209
210 Fixed bug where the wrong version was in Build.PL
211
212 =item CPANTS changes
213
214 Additional changes to meet requirements on http://cpants.perl.org/
215
216 =back
217
218 =head1 VERSION 5.50 (2008-05-05)
219
220 =over 4
221
222 =item Released
223
224 =back
225
226 =head1 VERSION 5.49 (DEVELOPMENT)
227
228 =over 4
229
230 =item New features
231
232 Added "ereyesterday". Ed Avis
233
234 =item Time zone fixes
235
236 Added time zones. Damyan Ivanov, Ernesto Hernandez-Novich, Gregor
237 Herrmann, Nicholas Riley, Enrique Verdes, Alexander Litvinov
238
239 =item Documentation fixes
240
241 Corrected typo in %G and %L format descriptions. Troy A. Bollinger
242
243 =item CPANTS changes
244
245 Added Build.PL and several other things to meet requirements on
246 http://cpants.perl.org/
247
248 =back
249
250 =head1 VERSION 5.48 (2007-11-27)
251
252 =over 4
253
254 =item Released
255
256 =back
257
258 =head1 VERSION 5.47 (DEVELOPMENT)
259
260 =over 4
261
262 =item Bug fixes
263
264 Fixed the version number. John R. Daily
265
266 Fixed a warning when the date command not present. Daniel Hahler
267
268 Fixed a bug where recurrences of the form 0:1*, 0:0:1*, etc.,
269 incorrectly required a base date. Gerry Lawrence
270
271 Fixed a bug where "substring" was used instead of "substr".
272
273 =item Time zone fixes
274
275 Fixed a problem in the WEST time zone. Cristina Nunes
276
277 Added time zone. Kimmo R. M. Hovi
278
279 =item Documentation fixes
280
281 Revised some of the documentation about Y2K (given that it's in the
282 past) and the 2007 US daylight saving time rule changes.
283
284 =back
285
286 =head1 VERSION 5.46 (2007-02-21)
287
288 =over 4
289
290 =item Released
291
292 =back
293
294 =head1 VERSION 5.45 (DEVELOPMENT)
295
296 =over 4
297
298 =item New features
299
300 Added "overmorrow". Ed Avis
301
302 =item Bug fixes
303
304 Fixed bug in parsing ISO 8601 dates. Paul Schinder
305
306 Fixed a bug in UnixDate for years before 1000 AD. Joaquin Ferrero
307
308 Fixed a bug where "today" wasn't case insensitive. Pedro Rodrigues
309
310 Fixed a bug where business/approximate mode wasn't correctly used in
311 DateCalc. Mark T. Kennedy
312
313 Bug in DateCalc where you couldn't pass undef as the errref. Alex Howansky
314
315 Bug where cygwin wasn't using the date command. Rafael Kitover
316
317 =item Time zone fixes
318
319 New time zones. Khairil Yusof, Andy Spiegel, Ernesto Rapetti
320
321 New time zones. Robin Norwood
322
323 Fixed Russian time zones. Yuri Kovalenko
324
325 =item Language fixes
326
327 Language fix for Danish. Claus Rasmussen
328
329 Language fix for German. Andreas Dembach
330
331 =item Documentation fixes
332
333 Minor documentation improvement. Caminati Carlo
334
335 Lots of spelling fixes. Asaf Bartov
336
337 =back
338
339 =head1 VERSION 5.44 (2005-06-02)
340
341 =over 4
342
343 =item Released
344
345 =back
346
347 =head1 VERSION 5.43 (DEVELOPMENT)
348
349 =over 4
350
351 =item B<(!) (*) Recurrences revisited>
352
353 The behavior of some elements of recurrences changed. These included
354 making the week element (N) refer to the Nth occurrence of a day of the
355 week in the week, month, or year. It is now possible to look at the
356 3rd Friday of every month for example.
357
358 Y-0-WOY-DOW now refers to the WOY'th occurrence of DOW instead of the
359 ISO 8601 date Y-W(WOY)-DOY. Also, changed Y-0-WOY-0 to refer to the
360 WOY'th occurrence of FirstDay, and got rid of the MW and MD flags. Many
361 other similar changes.
362
363 =item B<(!) Changed %x format in UnixDate>
364
365 The %x format used to be equivalent to %D (%m/%d/%y), but it has
366 been modified to use the DateFormat config variable, so it may return
367 %d/%m/%y if a non-US DateFormat is specified.
368
369 =item New features
370
371 Added TodayIsMidnight. Reuben Thomas
372
373 Added "approx" mode to Delta_Format and reversed change to default
374 Delta_Format behavior to the one from version 5.40. Based on
375 discussion with Adam Spiers.
376
377 Added %O UnixDate format. Martin Thurn
378
379 =item Bug fixes
380
381 Fixed a bug is ParseRecur where values passed in were no overriding
382 old values in the recurrence. Scott Barker (reported to the Debian
383 bugs list).
384
385 Fix for a potential problem in the "0000" time zone. Ed Avis
386
387 Changed taint check to be the one in perlsec(1). Max Kalika
388
389 Minor fix so DateInit("VAR=") will work. Thomas Bohme
390
391 Fixed a bug where business mode was kept operative even after the
392 calculation was over. Emiliano Bruni
393
394 Minor change to run under cygwin. Niel Markwick
395
396 Minor VMS fix. Martin P.J. Zinser
397
398 Small fix to taint checking. David Worenklein
399
400 Fixed a problem where deltas were getting misinterpreted as dates.
401 Harry Zhu
402
403 Fixed a bug in ParseRecur where "last day of every March" couldn't
404 be done. Andras Karacsony
405
406 Fixed a bug in business mode calculations. Tracy L Sanders
407
408 Sorted all events and dates returned by Events_List. This fixes
409 problems with tests on some versions of perl. Tulan
410
411 Modified %x UnixDate format to use DateFormat config variable.
412 Matt Lyons
413
414 =item Time zone fixes
415
416 Fixed a problem with single character military time zones (T and W)
417 conflicting with ISO 8601 T and W dates. Hugo Cornelis
418
419 Small correction to Brazil time zones. John McDonald
420
421 Added time zones. Michael Wood-Vasey, Don Robertson, Michael D. Setzer
422 II, Andres Tarallo
423
424 =item Language fixes
425
426 Fixed German translations. Oliver Scheit
427
428 Minor corrections to Italian. Nicola Pedrozzi
429
430 Added the language Catalan. Xavi Drudis
431
432 =item Documentation fixes
433
434 Minor doc fixes Reuben Thomas, Ed Avis, Thomas Winzig
435
436 Clarified documentation on %W/%G/%U/%L formats. Joel Savignon
437
438 =back
439
440 =head1 VERSION 5.42a 2003-07-03
441
442 =over 4
443
444 =item Test fixes
445
446 A quick fix to replace a faulty test.
447
448 =back
449
450 =head1 VERSION 5.42 (2003-07-02)
451
452 =over 4
453
454 =item Released
455
456 Number changed to distinguish between the development release (5.41)
457 and the official release.
458
459 =back
460
461 =head1 VERSION 5.41 (DEVELOPMENT)
462
463 As of 5.41, odd numbered releases are development (and appear only on
464 my page). Even number releases are official releases submitted to
465 CPAN.
466
467 =over 4
468
469 =item B<(!) Changed path separator for VMS>
470
471 Since ":" is used in some VMS paths, it should not have been used as
472 the path separator. It has been changed to a newline ("\n") character.
473
474 =item B<(!) Delta_Format behavior changed>
475
476 The entire delta is exact if no month component is present
477 (previously, no year or month component could be present). Due to
478 discussion with Tim Turner.
479
480 =item Bug fixes
481
482 Small patch for OpenVMS. Martin P.J. Zinser
483
484 Minor enhancement to ParseRecur. Randy Harmon
485
486 Fixed a bug involving business deltas with negative hours. Ludovic
487 Dubost
488
489 Added some support for NetWare. Chris Shields
490
491 Applied some robustness patches. Ed Avis
492
493 Fixed a bug with years <1000. Jonathan Callahan
494
495 Patch to make Manip.pm -Mstrict clean and better VMS support.
496 Peter Prymmer
497
498 Fixed a bug in "1st Saturday of 2005" format. Maurice Aubrey
499
500 Taint check insecure $ENV{PATH} fix. Ed Avis
501
502 Patch to allow deltas of the form "+ -1 day" to work. Ed Avis
503
504 Removed ampersands from function calls in documentation to fit new
505 perl coding standards. Bill Pollock
506
507 Fixed a bug where spaces in a date caused problems in German (due
508 to the number 1st, 2nd, etc. being 1., 2., etc.). Erik Roderwald
509
510 =item Time zone fixes
511
512 Minor bug fix where /etc/time zone not correctly read. Jacek Nowacki
513
514 Made the UnixDate %Z format work with numeric time zones. Michael Isard
515
516 Fixed bug where -HH:MM and +HH:MM were not being accepted as valid
517 time zones. Hank Barta
518
519 Fixed a bug where time zones -HH:MM weren't handled in ISO 8601 dates.
520 Ed Avis
521
522 Added some help for VMS time zones. Don Slutz
523
524 Added some checking to the time zone determination. Ed Avis
525
526 Added time zones. David Coppit, Daniel Serodio, Fabian Mandelbaum,
527 Raul Dias, Pedro Melo CUNHA, Roman Y Malakhov, David Whiting, Khaled
528 Mostaguir, Jason King
529
530 =item Language fixes
531
532 B<(*) Replaced all non-ASCII characters with hex representations to avoid
533 the malformed UTF-8 character warnings. Ed Avis>
534
535 Added Russian translation. Dapi
536
537 Additions to Dutch translation. Willem
538
539 Patch to French support. Patrick Turmel
540
541 Added Tues/Thur abbreviations. Martin Thurn
542
543 Added Turkish. Giray
544
545 Added Danish. Jesper Dalberg
546 A patch for Danish was send by Jorgen Norgaard previously, and
547 I somehow overlooked it. I apologize for that.
548
549 =item Test fixes
550
551 Added runtests.bat contributed by Lon Amick
552
553 =item Documentation fixes
554
555 Minor doc fix. Jeremy Tietsort
556
557 Fixed spelling of Veteran's day. Dirk Eddelbuettel
558
559 Documentation improvements. James Olsen
560
561 =back
562
563 =head1 VERSION 5.40 (2001-06-07)
564
565 =over 4
566
567 =item New features
568
569 Added support for negative values is "epoch SECS" type dates.
570 Larry Warner
571
572 Added NWD/PWD/DWD flags to ParseRecur. Peter Wyngaard
573
574 =item Bug fixes
575
576 Fixed a warning. Edward Avis
577
578 Fixed a bug where the date wasn't rolling over when parsing dates
579 containing only times. James L. Gordon
580
581 Fixed a bug where some times were defaulting to the current time
582 instead of 00:00:00. Edward Avis
583
584 Fixed a bug in Date_NthDayOfYear with decimal days. Olga Polyakov
585
586 Fixed a bug where ParseDateDelta returned a delta if nothing was
587 passed in. Jim Hranicky
588
589 Fixed a bug where noon was case sensitive. Bion Pohl
590
591 Fixed a bug where dateTtime wasn't parsed. Jeremy Brinkley
592
593 Fixed a bug in holiday parsing involving recurrences. Jerry Wilcox
594
595 Fixed a bug where an invalid date passed to Date_IsWorkDay produced
596 an error message. Mark Rejhon
597
598 Fixed a bug where EraseHolidays wasn't taking affect correctly.
599 Chateauvieux Martial
600
601 Fixed a bug where the list produced by Date_Init couldn't be passed
602 back in to Date_Init. James Elson
603
604 =item Time zone fixes
605
606 Added `date +%Z` support in Date_TimeZone. Mike Bristow
607
608 Fixed a warning if the time zone is supplied as a +HHMM format.
609 Viola Mauro
610
611 Fixed South African time zone. David Sieborger
612
613 =item Documentation fixes
614
615 Added an example. Philip Jones
616
617 =back
618
619 =head1 VERSION 5.39 (2000-06-27)
620
621 =over 4
622
623 =item Bug fixes
624
625 `date` uses the user's path unless taint checking is on.
626
627 @::DatePath used instead of @Date::Manip::DatePath incorrectly.
628 Fixed by John Labovitz.
629
630 Fixed a bug where times such as "5 seconds ago" were not changing
631 over time. Matthew R. Sheahan
632
633 =item Time zone fixes
634
635 Added /etc/time zone support to &Date_TimeZone. Dirk Eddelbuettel
636
637 Added time zones. Dirk Eddelbuettel, Eli Selinger
638
639 =back
640
641 =head1 VERSION 5.38 (2000-05-23)
642
643 =over 4
644
645 =item B<(*) Added Events>
646
647 Added Events section to config file and Events_List routine. Prompted
648 by Greg Schiedler and paid for by Alan Cezar.
649
650 =item B<(!) Removed Date_DaysSince999>
651
652 The Date_DaysSince999 function (deprecated in 5.35) has been removed.
653
654 =item New features
655
656 Added support for ISO8601 dates of the format dateTtime. Jason Pierce
657
658 Got rid of the "use Cwd" and ENV{PATH} lines which means no more taint
659 problems.
660
661 =item Bug fixes
662
663 Fixed "dofw" format to return the day of the current week as documented
664 instead of next week. Dennis Ingram
665
666 Fixed a bug where dates in years 1900, 1800, etc. (but not 2000 or other
667 400th years) were off by one day in DayOfWeek. Noble Thomas
668
669 Fixed a bug in ParseRecur (2-digit years not treated correctly).
670 Brian Rectanus
671
672 =item Time zone fixes
673
674 Added time zones. Nelson Ferreira, David Harper
675
676 =item Documentation fixes
677
678 Fixed some typos. Thanks to Alex Kapranoff
679
680 Typo fixed. Jim Hranicky
681
682 =back
683
684 =head1 VERSION 5.37 (2000-02-14)
685
686 =over 4
687
688 =item Bug fixes
689
690 Set ENV{PATH} to help with taint checking. Joe Lipson
691
692 Fixed a serious bug where HH:24:00 was broken due to support from 24:00:00.
693 Scott Egashira
694
695 =item Time zone fixes
696
697 Fixed the sign on the military time zones. John Scott
698
699 =back
700
701 =head1 VERSION 5.36 (2000-01-21)
702
703 =over 4
704
705 =item New features
706
707 Added support for 24:00:00 to ParseDate. William H Asquith
708
709 =item Bug fixes
710
711 Fixed a bug in ParseRecur. Lewis Tsao
712
713 Fixed a bug is UnixDate (%l format). Jon Hedley
714
715 Fixed a bug in Date_GetNext/Prev. Christoph Haas
716
717 Fixed a bug in Date_IsHoliday. Report and patch by Rolf Beutner
718
719 Fixed a bug in UnixDate. Patch by Kurtis D. Rader
720
721 Rewrote IsInt routine based on discussion with Sean Hunter
722 (approximately 30% faster on a SPARC).
723
724 =item Time zone fixes
725
726 Added time zone. Paul Arzul
727
728 =item Documentation fixes
729
730 Fixed a documentation problem with Date_ConvTZ. Diab Jerius
731
732 =back
733
734 =head1 VERSION 5.35 (1999-07-06)
735
736 =over 4
737
738 =item B<(!) Deprecated Date_DaysSince999>
739
740 In fixing support for the years 0001-0999, I rewrote Date_DaysSince999 to
741 be Date_DaysSince1BC. The Date_DaysSince999 function will be removed.
742
743 =item B<(*) (!) Added PathSep variable>
744
745 In order to better support Win32 platforms, I added the PathSep config
746 variable. This will allow the use of paths such as "c:\date" on Win32
747 platforms. Old config files on Win32 platforms (which were not working
748 correctly in many cases) may not work if they contain path information to
749 the personal config file.
750
751 =item B<(*) Recurrences now support flags>
752
753 Flags for modifying recurrence dates are now supported.
754
755 =item B<(*) Improved holiday support considerably>
756
757 Added support for recurrences and one-year-only holidays (the latter
758 requested first by Vishal Bhatia.
759
760 =item B<(*) Date_Init improved>
761
762 Date_Init can now return a list of config variables if called in array
763 context. Based on a suggestion by Matt Tuttle.
764
765 =item New features
766
767 Modified Date_GetPrev/Date_GetNext to take $curr=2.
768
769 Now parses the Apache log file format "dd/mmm/yyyy:hh:mm:ss (time zone)".
770 Mark Ferguson
771
772 Added OS/2 support. Michael B. Babakov
773
774 Added Date_IsHoliday routine. Joe Pepin
775
776 Added recurrence support for Easter (first suggested by Abigail).
777
778 =item Bug fixes
779
780 Made "epoch" not case sensitive and fixed a bug where it would fail in
781 some languages. Caught because of Iosif's thorough Romanian test file.
782
783 Fixed a problem where "in 5 days/weeks/months" sometimes wouldn't get
784 correctly parsed in other languages. Caught because of Iosif's
785 thorough Romanian test file.
786
787 Fixed a weakness in ParseDateDelta brought out by the Romanian delta
788 test file.
789
790 Fixed a bug causing warnings in the beta version of perl. Patch by
791 Paul Johnson.
792
793 Fixed support for years 0000-0999. Requested by Chris Vaughan
794
795 Several recurrence bug fixes.
796
797 Put all the my'ed global variables in a couple hashes to clean up the
798 namespace and to make a few future enhancements easier to do.
799
800 Fixed a bug where business weeks weren't being used correctly. Qian
801 Miao
802
803 Fixed a serious typo in the DaysSince1BC routine. Qian Miao
804
805 Fixed Veteran's day, added Good Friday (off by default). Peter Chen
806
807 Cleaned up holiday variables and re-did holiday routines.
808
809 =item Time zone fixes
810
811 Added time zones. Oded Cohen
812
813 =item Language fixes
814
815 Added Romanian support (including 2 test files). Iosif Fettich
816
817 Corrected Swedish translations. Danne Solli
818
819 Some fixes to German translations. Peter Ehrenberg
820
821 Added Italian. Nicola Pedrozzi
822
823 =item Test fixes
824
825 Added recurrence test suite
826
827 =item Documentation fixes
828
829 Several documentation updates.
830
831 New recurrence documentation.
832
833 =back
834
835 =head1 VERSION 5.34 (1999-04-13)
836
837 =over 4
838
839 =item B<(!) (*) All Date::Manip variables are no longer accessible>
840
841 Previously, Date::Manip variables were declared using a full package
842 name. Now, they are declared with the my() function. This means that
843 internal variables are no longer accessible outside of the module.
844 Based on suggestion by Tom Christiansen
845
846 =item B<(!) Week interpretation in business mode deltas>
847
848 A business mode delta containing a week value used to be treated as 7 days.
849 A much more likely interpretation of a week is Monday to Monday, regardless
850 of holidays, so this is now the behavior.
851
852 =item B<(!) %z UnixDate format>
853
854 The %z UnixDate format used to return the time zone abbreviation. It now
855 returns it as a GMT offset (i.e. -0500). %Z still returns the time zone
856 abbreviation. Suggested by Tuc.
857
858 =item B<(!) Formats "22nd Sunday" returns the intuitive value>
859
860 The date "22nd Sunday" used to return the Sunday of the 22nd week of the
861 year (which could be the 21st, 22nd, or 23rd Sunday of the year depending
862 on how weeks were defined). Now, it returns the 22nd Sunday of the year
863 regardless.
864
865 =item B<(!) Separator in DD/YYmmm and mmmDD/YY formats no longer optional>
866
867 Previously, the date "Dec1065" would return Dec 10, 1965. After
868 adding the YYYYmmm and mmmYYYY formats, this was no longer possible.
869 The separator between DD and YY is no longer optional, so
870
871 Dec1065 returns December 1, 1065
872 Dec10/65 returns December 10, 1965
873
874 =item B<(*) Date_Cmp added>
875
876 In one of the next versions of Date::Manip, the internal format of the
877 date will change to include time zone information. All date
878 comparisons should be made using Date_Cmp (which currently does
879 nothing more than call the Perl "cmp" command, but which will
880 important when comparing dates that include the time zone).
881
882 Added now in response to a question by Al Sorrell (I should have added
883 it earlier).
884
885 =item New features
886
887 Added exact business mode. Ian Duplisse
888
889 Added "mmmYYYY" and "YYYYmmm" formats. As a result, "DDYYmmm" and
890 "mmmDDYY" formats changed to "DD/YYmmm" and "mmmDD/YY" as described
891 above. David Twomey
892
893 =item Bug fixes
894
895 Fixed a bug where a date passed in as an array wasn't getting the
896 date removed from the array. Rick Wise
897
898 Added tests for MPE/iX OS. John Testa
899
900 Fixed a bug where WorkDayBeg=8:00 went into an infinite loop.
901 Mark Martinec
902
903 Changed a business week to be the same as an exact week. Abigail
904
905 Fixed a bug where "Sunday week 0" didn't work (only affected week 0)
906 Gerald Rinske
907
908 Minor bug (my variable declared twice). Paul J. Schinder
909
910 Fixed a bug where "epoch SECONDS" was getting parsed wrong (for SECONDS
911 which could be interpreted as an ISO-8601 date). N. Thomas
912
913 Fixed a problem where init files were not being read. Mike Reetz
914
915 =item Time zone fixes
916
917 At the request of the UN, I added the SAT time zone. :-) Howard
918 Hendler
919
920 Fixed a bug where time zones were converted multiple times if ConvTZ
921 was set and DateCalc called. Steven Hartland
922
923 =item Language fixes
924
925 Added Portuguese. Rui Pedro da Silva Leite Pereira
926
927 =item Documentation fixes
928
929 A number of typos fixed. Ron Pero
930
931 =back
932
933 =head1 VERSION 5.33 (1998-08-20)
934
935 =over 4
936
937 =item Bug fixes
938
939 Fixed a bug where "1 month ago" was no longer working (and added it to
940 the test cases). This broke when I fixed the "-1second" bug in the
941 previous version. A result of this is that a number of "deltas" can
942 be parsed as dates (i.e. &ParseDate("1 hour 20 minutes ago") is
943 equivalent to &DateCalc("now","1 hour 20 minutes ago")). Only text
944 deltas can be used in this way (i.e. &ParseDate("-0:0:0:0:1:20:0")
945 will not work).
946
947 =item Language fixes
948
949 Added Spanish support. Bautista Jasso Javier
950
951 =back
952
953 =head1 VERSION 5.32 (1998-08-17)
954
955 =over 4
956
957 =item B<(!) Date_Init arguments>
958
959 The old style Date_Init arguments that were deprecated in version 5.07
960 have been removed.
961
962 =item B<(!) (*) DateManip.cnf change>
963
964 Changed .DateManip.cnf to Manip.cnf (to get rid of problems on OS's
965 that insist on 8.3 filenames) for all non-Unix platforms (Windows, VMS,
966 Mac). For all Unix platforms, it's still .DateManip.cnf . It will only
967 look in the user's home directory on VMS and Unix.
968
969 =item New features
970
971 Added "in N days" and "N days ago" formats. Tony Bowden.
972
973 Added cYYYY format to YYtoYYYY variable. Mark Rejhon.
974
975 Added 2 days/weeks/months later in both ParseDate and ParseDelta (for
976 Dutch support). Abigail.
977
978 Added "Y:M:0*-DOM:0:0:0" to ParseRecur. Jeff Yoak.
979
980 =item Bug fixes
981
982 Fixed a bug where the deltas could be off by up to a couple minutes in
983 some rare cases. Herman Horsten.
984
985 Fixed an "uninitialized symbol" warning. Mark D. Anderson.
986
987 Fixed a bug where holidays weren't erased. Jonathan Wright.
988
989 Applied a bug fix from Joe Chapman where the %W/%U UnixDate formats
990 were frequently wrong.
991
992 Several minor fixes and improvements. Abigail.
993
994 Added some VMS support. Charles Lane.
995
996 Fixed a bug which caused a test to fail on some systems. Charles Lane.
997
998 Fixed a bug where "-1second" was treated as a date rather than a delta
999 in DateCalc. Kenneth Ingham
1000
1001 Added a bit to the Makefile.PL (as it was distributed in the Win32
1002 Perl Resource Kit). Murray Nesbitt
1003
1004 =item Time zone fixes
1005
1006 Allowed time zones of the format STD-#DST-#. Peter Gordon.
1007
1008 Added time zone support for "+0500 (EST)". Tom Christiansen.
1009
1010 Restricted time zones parsing to 0000-2359 instead of 0000-9999.
1011 Frank Cusack
1012
1013 Added time zones. W. Phillip Moore, Michael Smith, Samuli Karkkainen
1014
1015 =item Language fixes
1016
1017 Added Polish support. Ian Wojtowicz.
1018
1019 Added Dutch support. Abigail.
1020
1021 Added A.M. and P.M. parsing (not just AM and PM). William W. Arnold.
1022
1023 Fixed a German initialization problem. Thomas Horster-Moller
1024 and Christian Reithmaier
1025
1026 =item Documentation fixes
1027
1028 Documentation fix. Peter Gordon.
1029
1030 Minor documentation changes. Yamamoto Hiroshi.
1031
1032 Added info about the RCS problem. Supplied by Kipp E. Howard.
1033
1034 =back
1035
1036 =head1 VERSION 5.31 (1998-04-08)
1037
1038 =over 4
1039
1040 =item New features
1041
1042 Added "epoch SECS" format to ParseDateString. Thanks to: Joshua M. Burgin.
1043
1044 Added a patch by Blair Zajac to make Date_NthDayOfYear work with decimal
1045 days.
1046
1047 =item Bug fixes
1048
1049 Fixed a bug in ParseDateDelta (seems to appear only in 5.005 pre-releases).
1050 Found by Larry W. Virden.
1051
1052 Missed one form in ParseDate. Noted by Tuc.
1053
1054 Fixed a bug where "15:00:00" couldn't be parsed. Michael Pizolato.
1055
1056 Split Manip.pm. New files are HISTORY, TODO, Manip.pod.
1057
1058 Fixed a bug in ParseDateDelta. Antonio Rosella.
1059
1060 Removed the only occurrence of $& (which may speed some things up). Fix
1061 by Ken Williams. First suggested by Abigail.
1062
1063 Fixed an overflow bug in doing date calculations with 2 dates more than
1064 70 years apart. Fix by Vishal Bhatia.
1065
1066 Fixed a bug where "5:00pm" wasn't always parsed correctly. Thanks to
1067 Jim Trocki.
1068
1069 Fixed a bug in UnixDate (it wouldn't return the correct string for a
1070 format who's last character was '0') noted by Ramin V.
1071
1072 =item Time zone fixes
1073
1074 Relaxed some restrictions on time zones so ISO-8601 dates can use
1075 non-ISO-8601 time zones. Noted by John Chambers.
1076
1077 Fixed a bug in converting time zones with a minutes field (+1030). Found
1078 by Paul O.
1079
1080 =item Language fixes
1081
1082 Some fixes to the French translations by Emmanuel Bataille.
1083
1084 Added German support. Thanks to Andreas C. Poszvek.
1085
1086 =item Documentation fixes
1087
1088 Minor documentation fixes. Will Linden.
1089
1090 Fixed a documentation problem with Date_GetPrev. It was still 0-6
1091 instead of 1-7. Thanks to Robert Klep.
1092
1093 =back
1094
1095 =head1 VERSION 5.30 (1998-01-21)
1096
1097 =over 4
1098
1099 =item B<(!) (*) Delta format changed>
1100
1101 A week field has been added to the internal format of the delta. It now
1102 reads "Y:M:W:D:H:MN:S" instead of "Y:M:D:H:MN:S".
1103
1104 =item B<(*) Now handles recurring events>
1105
1106 Added ParseRecur. First suggested by Chris Jackson.
1107
1108 =item New features
1109
1110 All routines can now take either a 2- or 4-digit year.
1111
1112 Added Delta_Format. First suggested by Alan Burlison.
1113
1114 Added Date_SetDateField. Thanks to Martin Thurn.
1115
1116 =item Bug fixes
1117
1118 Made the $err argument to DateCalc optional.
1119
1120 Changed the name of several of the library routines (not the callable
1121 ones) to standardize naming.
1122
1123 =back
1124
1125 =head1 VERSION 5.21 (1998-01-15)
1126
1127 =over 4
1128
1129 =item B<(!) Long running processes may give incorrect time zone>
1130
1131 A process that runs during a time zone change (Daylight Saving Time
1132 specifically) may report the wrong time zone. See the UpdateCurrTZ variable
1133 for more information.
1134
1135 =item B<(!) UnixDate "%J", "%W", and "%U" formats fixed>
1136
1137 The %J, %W, and %U will no longer report a week 0 or a week 53 if it should
1138 really be week 1 of the following year. They now report the correct week
1139 number according to ISO 8601.
1140
1141 =item New features
1142
1143 Added YYtoYYYY variable. Suggested by Michel van der List.
1144
1145 Added the UpdateCurrTZ variable to increase speed at the cost of being
1146 wrong on the time zone.
1147
1148 Added British date formats. Thanks to Piran Montford.
1149 Monday week
1150 today week
1151 as well as some US formats
1152 in 2 months
1153 next month
1154
1155 Time can now be written 5pm. Piran Montford.
1156
1157 Added the TomorrowFirst variable and Date_NearestWorkDay function.
1158
1159 Added UnixDate formats %G and %L to correctly handle the year. Thanks
1160 to Samuli Karkkainen.
1161
1162 Added ForceDate variable. Based on a suggestion by Christian Campbell.
1163
1164 =item Bug fixes
1165
1166 Now passes Taint checks. Thanks to Mike Fuhr, Ron E. Nelson, and
1167 Jason L Tibbitts III.
1168
1169 Put everything in a "use integer" pragma.
1170
1171 Added a missing space in the %g UnixDate format. Thanks to Mike Booth.
1172
1173 Removed all mandatory call to Date_Init (only called when current time
1174 is required). Significantly faster.
1175
1176 Fixed a bug in Date_ConvTZ. Thanks to Patrick K Malone.
1177
1178 Fixed a bug in Date_IsWorkDay.
1179
1180 =item Time zone fixes
1181
1182 Fixed some Australian time zones. Kim Davies.
1183
1184 =item Language fixes
1185
1186 Cleaned up multi-lingual initialization and added the IntCharSet
1187 variable.
1188
1189 Improved French translations. Thanks to Emmanuel Bataille.
1190
1191 Added "Sept" as a recognized abbreviation. Thanks to Martin Thurn.
1192
1193 Typo in the French initialization. Thanks to Michel Minsoul.
1194
1195 =item Test fixes
1196
1197 Fixed the tests to not fail in 1998.
1198
1199 =item Documentation fixes
1200
1201 Documented how to get around Micro$oft problem. Based on a mail by
1202 Patrick Stepp.
1203
1204 =back
1205
1206 =head1 VERSION 5.20 (1997-10-12)
1207
1208 =over 4
1209
1210 =item B<(*) ISO 8601 support>
1211
1212 ISO 8601 dates are now parsed. This resulted in several other
1213 changes specified below.
1214
1215 =item B<(!) (*) ParseDate formats removed>
1216
1217 As a result of ISO 8601 support, some formats which previously worked
1218 may no longer be parsed since they conflict with an ISO 8601 format.
1219 These include MM-DD-YY (conflicts with YY-MM-DD) and YYMMDD (conflicts
1220 with YYYYMM). MM/DD/YY still works, so the first form can be kept
1221 easily by changing "-" to "/". YYMMDD can be changed to YY-MM-DD
1222 before being parsed. Whenever parsing dates using dashes as
1223 separators, they will be treated as ISO 8601 dates. You can get
1224 around this by converting all dashes to slashes.
1225
1226 =item B<(!) (*) Week day numbering>
1227
1228 The day numbering was changed from 0-6 (Sun-Sat) to 1-7 (Mon-Sun) to be
1229 ISO 8601 compatible. Weeks start on Monday (though this can be overridden
1230 using the FirstDay config variable) and the 1st week of the year contains
1231 Jan 4 (though it can be forced to contain Jan 1 with the Jan1Week1 config
1232 variable).
1233
1234 =item New features
1235
1236 Several new parsing formats added, including:
1237 "Friday" suggested by Rob Perelman
1238 "12th" suggested by Rob Perelman
1239 "last day of MONTH" suggested by Chadd Westhoff
1240
1241 Added ParseDateString for speed (and simplicity for modifying ParseDate)
1242
1243 Added %J and %K formats to UnixDate.
1244
1245 Added Date_DaysInMonth.
1246
1247 =item Bug fixes
1248
1249 Reorganized ParseDate more efficiently.
1250
1251 Fixed some incorrect uses of $in instead of $future in ParseDate.
1252 Thanks to Erik Corry.
1253
1254 Added some speedups (more to come).
1255
1256 =item Test fixes
1257
1258 Cleaned up testing mechanism a bit and added tests for ISO 8601 formats.
1259
1260 =back
1261
1262 =head1 VERSION 5.11 (1997-08-07)
1263
1264 Version 5.11 was never released to CPAN.
1265
1266 =over 4
1267
1268 =item Bug fixes
1269
1270 Added one more check for NT perl. Thanks to Rodney Haywood.
1271
1272 Added some comments to help me keep my personal libraries up-to-date
1273 with respect to Date::Manip and vice-versa.
1274
1275 Fixed a bug which showed up in French dates (though it could happen in
1276 other languages as well). Thanks to Georges Martin.
1277
1278 Fixed a bug in DateCalc. Thanks to Thomas Winzig.
1279
1280 Removed the "eval" statement from CheckFilePath which causes a suid
1281 c wrapper program to die when it calls a Date::Manip script.
1282 Thanks to Hank Hughes.
1283
1284 Fixed a bug in business mode calculations. Thanks to Sterling Swartwout.
1285
1286 Fixed a bug in which "1997023100:00:00" was accepted as valid. Thanks
1287 to Doug Emerald.
1288
1289 Fixed a bug in which ConvTZ was not used correctly in ParseDate. Re-did
1290 portions of Date_ConvTZ. Thanks to Vivek Khera.
1291
1292 Fixed a bug in business mode calculations. Thanks to Ian Duplisse.
1293
1294 Added $^X check for Win95 perl. Thanks to Walter Soldierer.
1295
1296 Missed one call to NormalizeDelta so the output was wrong. Thanks to
1297 Brad A. Buikema.
1298
1299 =item Time zone fixes
1300
1301 Added time zones. Paul Gillingwater, Rosella Antonio, Kang Taewook
1302
1303 =back
1304
1305 =head1 VERSION 5.10 (1997-03-19)
1306
1307 =over 4
1308
1309 =item Bug fixes
1310
1311 Cleaned up In, At, and On regexps.
1312
1313 Added 2 checks for MSWin32 (date command and getpw* didn't work). Thanks
1314 to Alan Humphrey.
1315
1316 Fixed two bugs in the DateCalc routines. Pointed out by Kevin Baker.
1317
1318 Added a check for Windows_95. Thanks to Charlie W.
1319
1320 Cleaned up checks for MacOS and Microsoft OS's. Hopefully I'm catching
1321 everything. Thanks to Charlie Wu for one more check.
1322
1323 Fixed a typo which broke Time%Date (Date=dd%mmm%yy) format. Thanks to
1324 Timothy Kimball.
1325
1326 =item Time zone fixes
1327
1328 Fixed some problems with how "US/Eastern" type time zones were used.
1329 Thanks to Marvin Solomon.
1330
1331 =item Test fixes
1332
1333 Tests will now run regardless of the time zone you are in.
1334
1335 Test will always read the DateManip.cnf file in t/ now.
1336
1337 A failed test will now give slightly more information.
1338
1339 DateManip.cnf file in t/ now sets ALL options to override any changes
1340 made in the Manip.pm file.
1341
1342 =item Documentation fixes
1343
1344 Added documentation for backwards incompatibilities to POD.
1345
1346 Fixed some problems in POD documentation. Thanks to Marvin Solomon.
1347
1348 Fixed minor POD error pointed out by John Perkins.
1349
1350 Changed documentation for Date_IsWorkDay (it was quite confusing using
1351 a variable named $time). Thanks to Erik M. Schwartz.
1352
1353 Fixed typo in documentation (midnight misspelled). Thanks to Timothy
1354 Kimball.
1355
1356 =back
1357
1358 =head1 VERSION 5.09 (1997-01-28)
1359
1360 =over 4
1361
1362 =item Bug fixes
1363
1364 Upgraded to 5.003_23 and fixed one problem associated with it.
1365
1366 Used carp and changed all die's to confess.
1367
1368 Replaced some UNIX commands with perl equivalents (date with localtime
1369 in the tests, pwd with cwd in the path routines).
1370
1371 Cleaned up all routines working with the path.
1372
1373 =item Test fixes
1374
1375 Tests work again (broke in 5.08). Thanks to Alex Lewin and Michael Fuhr
1376 for running debugging tests.
1377
1378 =back
1379
1380 =head1 VERSION 5.08 (1997-01-24)
1381
1382 =over 4
1383
1384 =item Bug fixes
1385
1386 B<(*) Fixed serious bug in ConvTZ pointed out by David Hall.>
1387
1388 B<(*) Modified Date_ConvTZ (and documented it).>
1389
1390 =back
1391
1392 =head1 VERSION 5.07p2 1997-01-03
1393
1394 Released two patches for 5.07.
1395
1396 =over 4
1397
1398 =item Bug fixes
1399
1400 Fixed a bug where a delta component of "-0" would mess things up.
1401 Reported by Nigel Chapman.
1402
1403 =item Time zone fixes
1404
1405 B<(*) Can now understand PST8PDT type zones (but only in Date_TimeZone).>
1406
1407 Added lots of time zone abbreviations.
1408
1409 =item Test fixes
1410
1411 Fixed some tests (good for another year).
1412
1413 =back
1414
1415 =head1 VERSION 5.07 (1996-12-10)
1416
1417 =over 4
1418
1419 =item B<(!) UnixDate "%s" format>
1420
1421 Used to return the number of seconds since 1/1/1970 in the current
1422 time zone. It now returns the number of seconds since 1/1/1970 GMT.
1423 The "%o" format was added which returns what "%s" previously did.
1424
1425 =item B<(!) (*) Internal format of delta>
1426
1427 The format for the deltas returned by ParseDateDelta changed. Previously,
1428 each element of a delta had a sign attached to it (+1:+2:+3:+4:+5:+6). The
1429 new format removes all unnecessary signs by default (+1:2:3:4:5:6). Also,
1430 because of the way deltas are normalized (see documentation on
1431 ParseDateDelta), at most two signs are included. For backwards
1432 compatibility, the config variable DeltaSigns was added. If set to 1, all
1433 deltas include all 6 signs.
1434
1435 =item B<(!) (*) Date_Init arguments>
1436
1437 The format of the Date_Init calling arguments changed. The
1438 old method
1439
1440 Date_Init($language,$format,$tz,$convtz);
1441
1442 is still supported , but this support will likely disappear in the future.
1443 Use the new calling format instead:
1444
1445 Date_Init("var=val","var=val",...);
1446
1447 NOTE: The old format is no longer supported as of version 5.32 .
1448
1449 =item B<(*) Added weeks to ParseDateDelta.>
1450
1451 Suggested by Mike Bassman. Note that since this is a late addition, I
1452 did not change the internal format of a delta. Instead, it is added
1453 to the days field.
1454
1455 =item B<(*) Now reads a config file.>
1456
1457 Refer to the Date_Init documentation for details.
1458
1459 =item B<(*) Added business mode.>
1460
1461 See documentation. Suggested by Mike Bassman.
1462
1463 =item New features
1464
1465 B<(*) Modified how deltas are normalized and added the DeltaSigns config
1466 variable.>
1467
1468 Added %q format "YYYYMMDDHHMMSS" to UnixDate. Requested by Rob Perelman.
1469 Also added %P format "YYYYMMDDHH:MM:SS".
1470
1471 Added a new config variable to allow you to work with multiple internal
1472 formats (with and without colons). Requested by Rob Perelman.
1473 See Date_Init documentation.
1474
1475 Added the following formats suggested by Andreas Johansson:
1476 Sunday week 22 [in 1996] [at 12:00]
1477 22nd Sunday [in 1996] [at 12:00]
1478 Sunday 22nd week [in 1996] [at 12:00]
1479
1480 Added a new config variable to allow you to define the first day of
1481 the week. See Date_Init documentation.
1482
1483 Added the following formats to ParseDate for convenience (some were
1484 suggested by Mike Bassman):
1485 next/last Friday [at time]
1486 next/last week [at time]
1487 in 2 weeks [at time]
1488 2 weeks ago [at time]
1489 Friday in 2 weeks
1490 in 2 weeks on Friday
1491 Friday 2 weeks ago
1492 2 weeks ago Friday
1493
1494 Added Date_SecsSince1970GMT, moved the %s format to %o (secs since 1/1/70)
1495 and added %s format (secs since 1/1/70 GMT). Based on suggestions by
1496 Mark Osbourne. Note this introduces a minor backward incompatibility
1497 described above.
1498
1499 Date_SetTime now works with international time separators.
1500
1501 Added the %g format (%a, %d %b %Y %H:%M:%S %z) for an RFC 1123 date.
1502 Suggested by Are Bryne.
1503
1504 Added options to delete existing holidays and ignore global config file.
1505
1506 Date_GetNext and Date_GetPrev now return the next/prev occurrence of a
1507 time as well as a day. Suggested by Are Bryne.
1508
1509 In approximate mode, deltas now come out completely normalized (only 1
1510 sign). Suggested by Rob Perelman.
1511
1512 Added Date::Manip::InitDone so initialization isn't duplicated.
1513
1514 Added a 3rd internal format to store YYYY-MM-DD HH:MN:SS (iso 8601).
1515
1516 Added a config variable to allow you to work with 24 hour business
1517 days. Suggested by Mike Bassman.
1518
1519 ParseDateDelta now returns "" rather than "+0:0:0:0:0:0" when there is
1520 an error.
1521
1522 =item Bug fixes
1523
1524 B<(*) The d:h:mn:s of ALL deltas are normalized.>
1525
1526 Huge number of code changes to clean things up.
1527
1528 Subroutines now check to see if 4 digit years are entered. Suggested
1529 by Are Bryne.
1530
1531 Added local($_) to all routines which use $_. Suggested by Rob
1532 Perelman.
1533
1534 Complete rewrite of DateCalc.
1535
1536 Fixed a bug where UnixDate %E format didn't work with single digit
1537 dates. Patch supplied by Jyrgen Nyrgaard.
1538
1539 Fixed a bug where "today" was not converted to the correct time zone.
1540
1541 =item Time zone fixes
1542
1543 Fixed bug in Date_TimeZone where it didn't recognize +HHMN type time
1544 zones. Thanks to Are Bryne.
1545
1546 Added WindowsNT check to Date_TimeZone to get around NT's weird date
1547 command. Thanks to Are Bryne.
1548
1549 Fixed typo (CSD instead of CST).
1550
1551 Fixed sign in military time zones making Date::Manip RFC 1123 compliant
1552 (except that time zone information is not stored in any format)
1553
1554 =item Test fixes
1555
1556 B<(*) Added test suite!>
1557
1558 =back
1559
1560 =head1 VERSION 5.06 (1996-10-25)
1561
1562 =over 4
1563
1564 =item New features
1565
1566 Added "today at time" formats.
1567
1568 ParseDateDelta now normalizes the delta as well as DateCalc.
1569
1570 Added %Q format "YYYYMMDD" to UnixDate. Requested by Rob Perelman.
1571
1572 =item Bug fixes
1573
1574 Fixed another two places where a variable was declared twice using my
1575 (thanks to Ric Steinberger).
1576
1577 Fixed a bug where fractional seconds weren't parsed correctly.
1578
1579 Fixed a bug where "noon" and other special times were not parsed
1580 in the "which day of month" formats.
1581
1582 Fixed a minor bug where a few matches were case sensitive.
1583
1584 The command "date +%Z" doesn't work on SunOS machines (and perhaps
1585 others) so 5.05 is effectively broken. 5.06 released to fix this.
1586 Reported by Rob Perelman.
1587
1588 =back
1589
1590 =head1 VERSION 5.05 (1996-10-11)
1591
1592 =over 4
1593
1594 =item New features
1595
1596 Changed deltas to be all positive or all negative when produced by
1597 DateCalc. Suggested by Steve Braun
1598
1599 Added DateManipVersion routine.
1600
1601 B<(*) Parses RFC 822 dates (thanks to J.B. Nicholson-Owens for suggestion).>
1602
1603 Parses ctime() date formats (suggested by Matthew R. Sheahan).
1604
1605 Now supports times like "noon" and "midnight".
1606
1607 =item Bug fixes
1608
1609 Fixed bug introduced in 5.04 when default day set to 1. When no
1610 date given, have day default to today rather than 1. It only
1611 defaults to one if a partial date is given.
1612
1613 Fixed bug where Date_DaysSince999 returned the wrong value (the
1614 error did not affect any other functions in Date::Manip due to
1615 the way it was called and the nature of the error). Pointed out
1616 by Jason Baker
1617
1618 Dates with commas in them are now read properly.
1619
1620 Fixed two places where a variable was declared twice using my (thanks
1621 to Ric Steinberger).
1622
1623 Hopefully fixed installation problems.
1624
1625 Got rid of the last (I think) couple of US specific strings.
1626
1627 Fixed bug in Date_SetTime (didn't work with $hr,$min,$sec < 10).
1628
1629 Added ModuloAddition routine and simplified DateCalc.
1630
1631 =item Time zone fixes
1632
1633 B<(*) Now supports time zones.>
1634
1635 B<(*) Added Date_ConvTZ routine for time zone support.>
1636
1637 Date_TimeZone will now also check `date '+%Z'` suggested by
1638 Aharon Schkolnik.
1639
1640 =item Language fixes
1641
1642 Added Swedish translation (thanks to Andreas Johansson
1643
1644 The time separators are now language specific so the French can
1645 write "10h30" and the Swedes can write "10.30". Suggested by
1646 Andreas Johansson.
1647
1648 =item Documentation fixes
1649
1650 Fixed bad mistake in documentation (use Date::Manip instead of
1651 use DateManip) pointed out by [email protected]
1652
1653 Minor improvements to documentation.
1654
1655 Documented the 'sort within a sort' bug.
1656
1657 Fixed type in documentation/README pointed out by James K. Bence.
1658
1659 =back
1660
1661 =head1 VERSION 5.04 (1996-08-01)
1662
1663 =over 4
1664
1665 =item New features
1666
1667 Added support for fractional seconds (as generated by Sybase). They
1668 are parsed and ignored. Added by Kurt Stephens
1669
1670 =item Bug fixes
1671
1672 Fixed bugs reported by J.B. Nicholson-Owens
1673 "Tue Jun 25 1996" wasn't parsed correctly (regexp was case
1674 sensitive)
1675 full day names not parsed correctly
1676 the default day in ErrorCheck should be 1, NOT currd since when
1677 currd>28, it may not be a valid date for the month
1678
1679 =back
1680
1681 =head1 VERSION 5.03 (1996-07-17)
1682
1683 =over 4
1684
1685 =item Bug fixes
1686
1687 Fixed a couple of bugs in UnixDate.
1688
1689 Declared package variables to avoid warning "Identifier XXX used
1690 only once". Thanks to Peter Bray for the suggestion.
1691
1692 =back
1693
1694 =head1 VERSION 5.02 (1996-07-15)
1695
1696 =over 4
1697
1698 =item New features
1699
1700 B<(*) Added some internationalization (most of the routines had to be
1701 modified at least slightly)>
1702
1703 =item Bug fixes
1704
1705 Fixed a bug where repeated calls to ParseDate("today") was not reset
1706
1707 Replaced the %Date::Manip::Date variable with a large number of
1708 other, more flexible variables
1709
1710 Rewrote the Init routine
1711
1712 =back
1713
1714 =head1 VERSION 5.01 (1996-06-24)
1715
1716 =over 4
1717
1718 =item New features
1719
1720 Added %F format to UnixDate. Rob Perelman
1721
1722 Added "Date at Time" types
1723
1724 Weekdays can be entered and checked
1725
1726 Two digit years fall in the range CurrYear-89 to CurrYear+10
1727
1728 =item Bug fixes
1729
1730 Reworked a number of the ParseDate regular expressions to make
1731 them more flexible
1732
1733 =item Documentation fixes
1734
1735 Fixed a typo (Friday misspelled Fridat). Rob Perelman
1736
1737 Documentation problem for \$err in DateCalc. Rob Perelman
1738
1739 =back
1740
1741 =head1 VERSION 5.00 (1996-06-21)
1742
1743 =over 4
1744
1745 =item B<(*) Switched to a package.>
1746
1747 Patch supplied by Peter Bray:
1748 renamed to Date::Manip
1749 changed version number to 2 decimal places
1750 added POD documentation
1751
1752 Thanks to Peter Bray, Randal Schwartz, Andreas Koenig for suggestions
1753
1754 =item Bug fixes
1755
1756 Fixed a bug pointed out by Peter Bray where it was complaining of
1757 an uninitialized variable.
1758
1759 =back
1760
1761 =head1 VERSION 4.3 (1995-10-26)
1762
1763 =over 4
1764
1765 =item New features
1766
1767 Added "which dofw in mmm" formats to ParseDate. Mark Dedlow
1768
1769 =item Bug fixes
1770
1771 Added a bugfix of Adam Nevins where "12:xx pm" used to be parsed
1772 "24:xx:00".
1773
1774 =back
1775
1776 =head1 VERSION 4.2 (1995-10-23)
1777
1778 =over 4
1779
1780 =item New features
1781
1782 UnixDate will now return a scalar or list depending on context
1783
1784 ParseDate/ParseDateDelta will now take a scalar, a reference to a
1785 scalar, or a reference to an array
1786
1787 B<(*) Simple time zone handling>
1788
1789 B<(*) Added Date_SetTime, Date_GetPrev, Date_GetNext>
1790
1791 =item Bug fixes
1792
1793 Added copyright notice (requested by Tim Bunce)
1794
1795 =back
1796
1797 =head1 VERSION 4.1 (1995-10-18)
1798
1799 =over 4
1800
1801 =item New features
1802
1803 B<(*) Added DateCalc>
1804
1805 =item Bug fixes
1806
1807 Changed %DATE_ to %DateManip::Date
1808
1809 B<(*) Rewrote ParseDateDelta>
1810
1811 =back
1812
1813 =head1 VERSION 4.0 (1995-08-13)
1814
1815 B<(*) First public release>
1816
1817 =over 4
1818
1819 =item New features
1820
1821 Added time first formats to ParseDate
1822
1823 =item Bug fixes
1824
1825 B<(*) Switched to perl 5>
1826
1827 Cleaned up ParseDate, ParseDateDelta
1828
1829 =back
1830
1831 =head1 VERSION 3.0 (1995-05-03)
1832
1833 =over 4
1834
1835 =item New features
1836
1837 Added today/tomorrows/etc. formats
1838
1839 B<(*) Added UnixDate>
1840
1841 B<(*) Added ParseDateDelta>
1842
1843 =item Bug fixes
1844
1845 Added %DATE_ global variable to clean some stuff up
1846
1847 Simplified several routines
1848
1849 =back
1850
1851 =head1 VERSION 2.0 (1995-04-17)
1852
1853 =over 4
1854
1855 =item New features
1856
1857 Included ideas from Time::ParseDate (David Muir Sharnoff)
1858
1859 Included ideas from date.pl 3.2 (Terry McGonigal)
1860
1861 B<(*) Added seconds to ParseDate>
1862
1863 =item Bug fixes
1864
1865 Made error checking much nicer
1866
1867 =back
1868
1869 =head1 VERSION 1.2 (1995-03-31)
1870
1871 =over 4
1872
1873 =item New features
1874
1875 Added a few date formats
1876
1877 =item Bug fixes
1878
1879 Made months case insensitive
1880
1881 =back
1882
1883 =head1 VERSION 1.1 (1995-02-08)
1884
1885 =over 4
1886
1887 =item New features
1888
1889 Added leap year checking
1890
1891 Both "Feb" and "February" formats available
1892
1893 =back
1894
1895 =head1 VERSION 1.0 (1995-01-20)
1896
1897 =over 4
1898
1899 =item B<(*) Initial release>
1900
1901 Though not released to the public, the initial released combined
1902 routines from several scripts into one library.
1903
1904 =back
1905
1906 =head1 BUGS AND QUESTIONS
1907
1908 Please refer to the L<Date::Manip::Problems> documentation for
1909 information on submitting bug reports or questions to the author.
1910
1911 =head1 SEE ALSO
1912
1913 L<Date::Manip> - main module documentation
1914
1915 =head1 LICENSE
1916
1917 This script is free software; you can redistribute it and/or
1918 modify it under the same terms as Perl itself.
1919
1920 =head1 AUTHOR
1921
1922 Sullivan Beck ([email protected])
1923
1924 =cut