forked from gbarr/perl-TimeDate
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathChanges
More file actions
486 lines (313 loc) · 14.7 KB
/
Changes
File metadata and controls
486 lines (313 loc) · 14.7 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
Revision history for TimeDate distribution.
{{$NEXT}}
2.35 2026-03-20 21:44:45-06:00 America/Denver
* test: document and pin RT#84075/GH#12 fix in regression suite
* fix: add NST, NFT, and NDT (Newfoundland) timezone support
* fix: add ICT and PHT timezone support
* fix: restore rebase regressions and clarify first-century limitation
* fix: normalize two-digit years in str2time to avoid Time::Local windowing mismatch
* fix: use standard 2-letter German weekday abbreviations
* fix: detect timegm/timelocal overflow for far-future dates (RT#88777)
* test: add regression tests for RT#88777 (negative epoch for far-future dates)
* fix: use stored epoch in format_Z/format_z to fix DST fall-back timezone name
* fix: document MSK timezone history and add regression test (RT#98949)
* fix: strftime %s with timezone now returns correct epoch (RT#52387)
* test: add POD validity regression test for RT#53557
* fix: include day in year-inference for dates without an explicit year
* fix: document MSK timezone history and add regression test (RT#81350)
* ci: install Pod::Checker via cpm in Linux CI
* docs: add SECURITY.md with vulnerability reporting policy
* test: add regression tests for RT#57800 / GH#3 (numeric m/d/yyyy pre-1970 dates)
* fix: normalize year offset for dates before 1901 in strptime (RT#106105)
* fix: reject timezone-only inputs in strptime (RT#70650)
* test: add failing tests for RT#70650 (ludicrous date parsing)
* fix: prevent negative month from strptime for 6-digit inputs like '199001'
* test: add Portuguese format and round-trip tests from PR #61
* fix: treat number > 31 after month name as year, not day (GH#2)
* fix: translate timezone abbreviations (%Z) in language-specific formatting
* fix: tz_name() offset in seconds was treated as minutes (RT#59298)
* docs: fix ISO-8601 example date in Date::Parse POD (issue #6)
* feat: add optional LANGUAGE parameter to time2str()
* feat: allow str2time() to accept a custom reference epoch (RT#64789)
* docs: clarify strptime() return format for ISO 8601 dates (issue #44)
* feat: add Portuguese language module
* fix: prefer CEST over MEST as canonical Central European Summer Time name
* fix: add ICT and PHT timezone abbreviations to Time::Zone (RT#123247)
* fix: standardize Greek.pm to use native Unicode instead of \x{} escapes
* test: add regression test for RT#105031 / GH#17 (1965-12-31 maps to 2065)
* fix: declare Carp as runtime prerequisite in Makefile.PL
* fix: infer current year for future months when no year given (RT#92611)
* test: add regression tests for RT#53413 (4-digit year mangling)
* fix: handle leap day in year-only date parsing test
* fix: support IANA timezone names in tz2zone and tz_offset (RT#76968)
* fix: preserve comma as ISO 8601 decimal separator in strptime
* fix: add French day ordinal suffix in format_o
* fix: make tz_name tests deterministic across DST transitions
2.34 2026-02-27 17:00:48-07:00 America/Denver
* doc: Increase POD coverage
* refactor: extract _build_lookups helper, remove hash-building duplication
* fix: correct language data bugs and minor code review fixes
* Fixup utf8 and add tests
* Use Dist::Zilla for the distro
* rebase: apply review feedback on #52
* fix: uncomment Indian Standard timezone (IST)
* feat: support boost C++ timestamp format (%Y-%b-%d %H:%M:%S.%f)
* fix: correct typos across documentation and comments
* stop using use vars
* rebase: apply review feedback on #49
* Remove limitation from Date::Parse
* Create Arabic.pm
2.33 2020-05-19 11:34:00-06:00 America/Denver
* Remove PAX Headers in tarball using GNU tar
2.32 2020-03-04 14:41:00-07:00 America/Denver
* Fix t/date.t to run on leap years [arc]
2.31 2020-01-16 14:00:00-07:00 America/Denver
* Fix year 2020 bug from t/getdate.t [Prajith]
* Fix warnings from t/date.t
* Fix pod issue in lib/Date/Parse.pm
* Fix for French language using English day suffixes in %o [mitchjacksontech]
* RT#84075: Fix Date::Parse::str2time century issue. [perlpilot]
* Adds Occitan language. [Quenty31]
* Migrate GitHub repo and bugtracker to atoomic/perl-TimeDate
2.30 2013-02-18 13:31:03-06:00 America/Chicago
* Syncing distribution version number with Date::Parse, not functional changes
1.20 2009-12-12 06:38:14-06:00 America/Chicago
* Typo => s/timezome/timezone/ [yanick]
* RT#52387 Fix %s formating to use timelocal when no timezone is given
* RT#51664 fix str2time('16 Oct 09') to not give a negative result
1.19 2009-09-25 13:59:41-05:00 America/Chicago
* Replace Date::Language::Hungarian with version from CPAN by Lee Goddard
1.18 2009-09-24 17:43:28-05:00 America/Chicago
* RT#49963 Skip pre 1970 date tests on Win32
* Added Date::Language::Hungarian (Konrad Lorinczi)
1.17 2009-09-19 10:56:12-05:00 America/Chicago
Bugfixes
* RT#45067: Date::Format with %z gives wrong results for half-hour timezones (Ernesto Hern?dez-Novich)
* RT#48164: Date::Parse unable to set seconds correctly
* RT#17396: Parse error for french date with 'mars' (march) as month
Documentation
* Fixed documentation for %e in Date::Format
* Update documentation to remove Date::Format->language
Enhancements
* Add support for dates like Jul-13-1999 (Brett Warden)
* Added Icelandic language (Tomas Edwardsson)
* Added Romanian language (Doru Petrescu)
* Added Russian language (Denis Poznyakov & Danil Pismenny)
* Added Turkish language (Burak Gursoy)
* Added Spanish language (Adrian Mugnolo)
* Added Chinese language (Kang-min Liu)
* Support parsing dates like 2002-02-26-10:37:21.141 as used by lpd
* Support Z timezone when only the time is specified
* Added METDST to Time::Zone
* Added AKST/AKDT to Time::Zone
Changes prior to 1.17
Change 814 on 2003/06/03 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Time::Local in 5.8 does not support fractional seconds
Change 813 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Release 1.15
Change 812 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Fix comments about Language implementation in Date::Parse
(patch from Christian Hammers)
Change 811 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Fix short name for 'maart' to be 'mrt' as suggested by Frank Maas
Change 810 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Add %G format for GPS week (patch from Eric Richardson)
Change 809 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Language updates from Daniel Yacob
Change 808 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
str2time("") should return undef
Change 807 on 2003/06/02 by <gbarr@pobox.com> (Graham Barr)
Added Swedish and Finnish languages from Matthew Musgrove
Change 778 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
Added Chinese_GB language.
Supplied by forehead (I don't even pretend tounderstand it)
Change 777 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
Return fractional seconds when specified in an ISO date
Change 776 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
New languages from Daniel Yacob
Change 775 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
Fix UTC support on ISO dates
Change 774 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
Allow a : in a timezone so the dates specified in RSS can be parsed
(eg 2002-11-07T23:31:49-05:00) Patch from Kellan
Change 773 on 2003/03/03 by <gbarr@pobox.com> (Graham Barr)
Support parsing more formats
Change 754 on 2002/11/03 by <gbarr@pobox.com> (Graham Barr)
Release 1.14
Change 753 on 2002/11/03 by <gbarr@pobox.com> (Graham Barr)
Fix bug parsing 2002-11-02 11pm
Change 752 on 2002/11/03 by <gbarr@pobox.com> (Graham Barr)
Add Greek language module from Matthew Musgrove
Change 744 on 2002/09/16 by <gbarr@pobox.com> (Graham Barr)
Add Date::Language::Brazilian and Date::Language::Danish
to MANIFEST
Change 743 on 2002/09/16 by <gbarr@pobox.com> (Graham Barr)
Add Date::Language::Brazilian from Christian Tosta
Add Date::Language::Danish from Lars Skj?lund
Change 742 on 2002/09/16 by <gbarr@pobox.com> (Graham Barr)
Time::Zone
- Add some zones for Brazil
Change 741 on 2002/09/16 by <gbarr@pobox.com> (Graham Barr)
Time::Zone [cpan #1299]
- Allow $ENV{TZ} to have zomes like EST5
Change 733 on 2002/06/13 by <gbarr@pobox.com> (Graham Barr)
Date::Language::French
- Fix missing ;
Change 732 on 2002/06/06 by <gbarr@pobox.com> (Graham Barr)
Release 1.13
Change 731 on 2002/06/06 by <gbarr@pobox.com> (Graham Barr)
Fix pattern to allow single digits for month and day (eg '2002-6-1')
Change 730 on 2002/06/03 by <gbarr@pobox.com> (Graham Barr)
Release 1.12
Change 729 on 2002/06/03 by <gbarr@pobox.com> (Graham Barr)
Fix month name abbreviations
Change 720 on 2002/04/25 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Make it work with 5.004 again
Change 719 on 2002/04/25 by <gbarr@pobox.com> (Graham Barr)
Prevent the ISO date pattern matching where it should not. ie there must not
be a non-space character directly before the date string
Change 718 on 2002/04/17 by <gbarr@pobox.com> (Graham Barr)
Change French @Dsuf, from Peter Samuelson <peter@cadcamlab.org>
Change 712 on 2002/03/07 by <gbarr@pobox.com> (Graham Barr)
Added %L format for month number as 1..12 from Adam Monsen
Change 708 on 2002/02/28 by <gbarr@pobox.com> (Graham Barr)
Release 1.11
Change 707 on 2002/02/28 by <gbarr@pobox.com> (Graham Barr)
Fix format error in t/date.t
Change 692 on 2002/01/09 by <gbarr@pobox.com> (Graham Barr)
Be a bit more lenient on the ISO format
Change 691 on 2002/01/02 by <gbarr@pobox.com> (Graham Barr)
Fix typo in ISO-8601 formats in docs
Change 690 on 2001/12/28 by <gbarr@pobox.com> (Graham Barr)
Date::Format
- Fix array dereference syntax typo
Change 689 on 2001/12/28 by <gbarr@pobox.com> (Graham Barr)
Date::Format
- Fix doc typos
Change 682 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Make the minutes and seconds parts of an ISO-8601 optional
(patch from Christian Hammers)
Change 681 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Allow AM/PM to be just A/P (eg Jul 13 1999 1:23P) as used by MySQL
(patch from Drew Degentesh)
Change 680 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Time::Zone
- Add CEST Central European Daylight
Change 679 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Extract (but ignore) fractions of a second in an ISO8601 date string
(patch from rayg at yahoo-inc.com)
Change 678 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Add %P to be am or pm
Change 677 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Date::Language::French
- Um, the french have 7 days in the week just like everyone else
Change 676 on 2001/11/20 by <gbarr@pobox.com> (Graham Barr)
Date::Language::German
- Fix abbrev for October (patch from Stefan Niederhauser)
Change 634 on 2001/09/03 by <gbarr@pobox.com> (Graham Barr)
Add a check for invalid years in format 1995-01-24
Change 580 on 2000/09/04 by <gbarr@pobox.com> (Graham Barr)
Release 1.10
Change 579 on 2000/09/04 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Support for more date formats
Time::Zone
- Added more zones
Change 539 on 2000/06/14 by <gbarr@pobox.com> (Graham Barr)
Documentation updates
Change 536 on 2000/06/06 by <gbarr@pobox.com> (Graham Barr)
Fix VERSION numbers
Change 535 on 2000/06/06 by <gbarr@pobox.com> (Graham Barr)
Date::Format
- Added support for %O* to support output of roman numerals
Change 443 on 2000/03/29 by <gbarr@pobox.com> (Graham Barr)
Release 1.09
Change 442 on 2000/03/29 by <gbarr@pobox.com> (Graham Barr)
Added PPD stuff to Makefile.PL
Change 441 on 2000/03/29 by <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Allow "s after the timezone
Change 440 on 2000/03/29 by <gbarr@pobox.com> (Graham Barr)
Date::Format
- Fix doc for %c and %C
Change 409 on 2000/03/28 by <gbarr@pobox.com> (Graham Barr)
Moved .pm files into lib directory
Change 408 on 2000/03/28 by <gbarr@pobox.com> (Graham Barr)
str2time returns undef on error bit Time::Local returns
-1. Check if the -1 is real or an error
Change 407 on 2000/03/28 by <gbarr@pobox.com> (Graham Barr)
Added Eastern European Summer Time EEST
Change 268 on 1999/03/18 by <gbarr@pobox.com> (Graham Barr)
Date::Format, Time::Zone
- Fix problem with %z and %Z as suggested by
Jason A Smith <smithj4@rpi.edu>
Change 267 on 1999/03/18 by <gbarr@pobox.com> (Graham Barr)
- Make t/getdate.t more portable as suggested by
Paul Schinder <schinder@pobox.com>
Change 250 on 1999/02/06 by <gbarr@pobox.com> (Graham Barr)
Date::Format
- Correct docs for %d and %e
Change 249 on 1999/02/06 by <gbarr@pobox.com> (Graham Barr)
Added Date::Language::Czech
Change 180 on 1998/08/05 by <gbarr@pobox.com> (Graham Barr)
Date::Language
- Added Date::Language::French contributed by
Emmanuel Bataille (bem@residents.frmug.org)
- Split out the languages into .pm's
Date::Parse
- Added patch from Alan Burlison to Date::Parse to allow zone
offests +7, +10 and +700
- Parse now supports GMT+0100
*** Release 1.08
Fri Jan 2 1998 <gbarr@pobox.com> (Graham Barr)
Date::Format, Time::Zone
- Fix for formatting %z and %Z
all
- Update Email address and year
Tue Feb 17 1998 <gbarr@pobox.com> (Graham Barr)
Date::Language
- Added format_o to German
Fri Sep 12 1997 <gbarr@pobox.com> (Graham Barr)
Date::Parse
- Added 'DST' to parser, it adjusts $zone by 3600 (but that may not
be right in all cases)
- Added a check to str2time to ensure valid
values are passed to Time::Local, to avoid croak-ing
- Fixed to treat AM and PM correctly when the hour is 12. (I hope :-)
Time::Zone
- Modified for Western Australia
Tue 07 Jan 1996
o Release 1.07
o Fixed a problem in Time::Zone (had @l[8] instead of $l[8], doh! )
Thu 02 Jan 1996
o Release 1.06
o Fixed t/getdate.t
o Date::Parse can now parse the date-format 960913, which apparently
is fairly common in sweden.
Wed 31 Jul 1996 <bodg@tiuk.ti.com>
o Release 1.05
o Modified Date::Format not to use single letter sub names,
all format sub names are nore prefixed with format_
o Cleaned up Date/Format.pm so that AUTOLOAD is not required
o Patched Date/Language.pm to add Norwegian. Thanks to
Gisle Aas <aas@bergen.sn.no> for the patch
Thu 27 Jun 1996 <bodg@tiuk.ti.com>
o Added %z to Date::Format to output timezone in +/-0000 format
o Added multi-language support via Date::Language,.
Tue 25 Jun 1996 <bodg@tiuk.ti.com>
o Some code tidying up
o added a new test, copied from Date::GetDate
o improved performance
Wed 22 May 1996 <bodg@tiuk.ti.com>
o Fixed a bug in the parser for dates in a default (local) timezone
but a different dst
Wed 15 May 1996 <bodg@tiuk.ti.com>
o Added support for mainframe type dates
Fri 3 May 1996 <bodg@tiuk.ti.com>
o Added %s to date formatting at request of Josh Osborne
<stripes@va.pubnix.com>.