Debian Codegraph @

ChangeLog

raw
1 2008-01-12 Igor Sutton <[email protected]>
2
3 * Subclassing should now work with today, ymd and d8
4 constructors (bug #32250).
5
6 2008-01-10 Igor Sutton <[email protected]>
7
8 * Copy default_format from old Date::Simple object when adding or
9 subtracting (bug #31037).
10
11 2008-01-09 Igor Sutton <[email protected]>
12
13 * Applied patch proposed for 64bit support (bug #28549).
14
15 2004-12-18 Yves Orton <[email protected]>
16
17 * YO -- Version number kick to 3.02, doc fix. Patch merge.
18
19 2004-11-27 John Tobey <[email protected]>
20
21 * Simple.xs (is_leap_year): Fixed math for dates before
22 1900-03-01. Thanks to Anil Natha for finding the bug.
23
24 * t/date.t: Added day_of_week tests.
25
26
27 2004-04-02 Yves Orton <[email protected]>
28
29 * lib/Date/Simple.pm ($VERSION): Version 3.
30 Added formatting support and as_iso() XS method.
31 Switched to using Test::More instead of Test.
32 Prereqs expanded to include Test::More and Scalar::Util
33 Both are standard distro in later perls.
34
35 * Makefile.pl: Dont mess with filenames xs is true.
36
37 2002-12-06 John Tobey <[email protected]>
38
39 * lib/Date/Simple.pm ($VERSION): Version 2.04.
40
41 * lib/Date/Simple.pm (use overload): Overload more operators: ==
42 != eq ne
43 (_inval): Stylistic changes.
44 (_new): New sub, built from the old 'new'. Accept YYYYMMDD
45 strings without hyphens. Return undef rather than dying on
46 unrecognized format. ('new' still dies for compatibility.)
47 (date): Use '_new'. Avoid use of 'eval' and $@.
48 (new): Use '_new'.
49 (pod): Update docs.
50
51 * lib/Date/Simple/NoXS.pm (_eq): New sub.
52 (_ne): New sub.
53
54 * Simple.xs (is_object): New function.
55 (new_for_cmp): New function.
56 (_add): Use is_object().
57 (_subtract): Use is_object().
58 (_compare): Use is_object() and new_for_cmp().
59 (_eq): New sub.
60 (_ne): New sub.
61
62 * t/date.t: Test new equality operators.
63
64 * README: Regenerated from lib/Date/Simple.pm.
65
66 2002-03-11 John Tobey <[email protected]>
67
68 * lib/Date/Simple.pm ($VERSION): Version 2.03.
69
70 * t/date.t: Remove a locale dependency. Thanks to ASSAD Arnaud
71 for the fix.
72
73 2001-10-02 John Tobey <[email protected]>
74
75 * lib/Date/Simple.pm ($VERSION): Version 2.02.
76
77 * Simple.xs (days_in_month): avoid crash due to reversed args.
78
79 2001-08-27 John Tobey <[email protected]>
80
81 * lib/Date/Simple.pm: Version 2.01.
82
83 * t/date.t: Test today() fix.
84
85 * lib/Date/Simple.pm (today): Replace use of deleted function.
86
87 * Version 2.00.
88
89 * Added functional interface (date, d8, ymd).
90
91 * Load POSIX module only when needed.
92
93 * Crunch numbers in C if compiler found. (Install with 'perl
94 Makefile.PL noxs' to select the pure Perl implementation.)
95
96 * Can calculate the day of the week.
97
98 * Reduced dependence on time_t, most functions work for dates up
99 to 9999.