-
Notifications
You must be signed in to change notification settings - Fork 33
/
Changes
233 lines (186 loc) · 7.42 KB
/
Changes
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
Revision history for Time-Piece
1.3401 2020-04-06
- Add tests for negative and large epochs
- Remove %I tests from 09locales.t
- Exempt more tests unless $ENV{AUTOMATED_TESTING}
- Safeguards around 12-hour time notation
1.34 2020-02-27
- Exempt DST tests unless $ENV{AUTOMATED_TESTING}
- Add recent test files to MANIFEST (openstrike)
1.33 2018-08-18
- Allow objects in overloaded methods
1.3204 2018-02-19
- Fix compilation warnings.
1.3203 2017-12-12
- Fix copy constructor erroneous parent modification (Thanks Grinnz!)
- Fix wrong islocal of existing object in copy constructor (Thanks Grinnz!)
- Switch to XSLoader
1.3202 2017-09-13
- Fix AIX compile
1.3201 2017-06-22
- Fix compile errors on MS
- Use macro for buf sizes
- Remove some compile warnings
- SP off by 1 in _crt_localtime
1.32 2017-06-20
- Since 1.31:
- New truncate() method
- Add new flags: %F, %T, %P + more
- Add rudimentary locale support via use_locale()
- More tests
- Less bugs (hopefully)
1.31_04 2017-06-16
- Tests for %F and %T
- Fix wrong test count on Windows
- Use sensible defaults for strptime
1.31_03 2017-06-14
- Don't use localization on default
- Bugs with %s in strptime fixed
1.31_02 2017-01-16
- Add better localization between strftime and strptime
1.31_01 2017-01-13
- Respect singular for 1 sec, min, etc. in pretty (choroba)
- Add truncate() (openstrike)
- Add many more tests (openstrike)
- Add more compatibility to strf/strptime
1.31 2015-10-20
- No Changes since 1.30_01
1.30_01 2015-09-01
- Ignore some tests on non *nix platforms
- fix compile warnings
- Inherit from Dynaloader (fix static build issues)
- Fix windows mem corruption
1.30 2015-05-16
- Stable release. Overview from 1.29:
- Make strftime more portable + fix %z %z
- Add many more tests
- Clean inheritance
1.29_05 2015-05-02
- Combine multiple 'use constant' statements (saves 0.5ms at runtime)
- Don't leave c_epoch undef
- deprecate parse() function
- More constructor tests
- export() calls Exporter::export
1.29_04 2015-04-09
- Clean inheritance of Exporter and DynaLoader (Thanks dolmen!)
- Refactor _strftime to use localtime/gmtime to generate tm struct
1.29_03 2015-04-04
- Don't mix gmtime and mktime in _strftime
- Clean whitespace at end of lines
- Add more tests for DST issues and also strptime parsing
1.29_02 2015-04-04
- Fix handling of %Z and %z in strftime (hopefully)
- Remove compile warnings for int cast
1.29_01 2015-03-30
- Fix handling of %Z and %z in strftime (in progress)
- Remove unused constants from Time::Seconds (Thanks Xaerxess!)
- _strftime: use system mktime to better support past/future dates
- Relicense strptime as BSD 2-clause http://git.io/vfNSg
1.29 2014-09-01
- when pretty printing negative Time::Seconds, do not lose the "minus"
1.27 2014-01-03
- portability fixes for XS changes in 1.25_01
1.26 2013-12-29
- no changes since previous (trial) release
1.25_01 2013-12-16
- fix compiling for WinCE, execution is untested
- add a .gitignore (from Win32::API)
- fix a compiler warning about unused var, and add inlining
- add PERL_NO_GET_CONTEXT to XS to bring the binary into 21st century
- refactor XS code to remove large sections of duplicate machine code
- fix _crt_localtime to return year only once, previously
_crt_localtime returned year (item #6) twice in the list
1.24 2013-12-03
- add repository metadata (thanks, David Steinbrunner)
1.23 2013-09-06
- add a LICENSE file (thanks, John Peacock!)
- make sure Time::Seconds loads Exporter, which it relies on (thanks,
GFUJI and TOKUHIROM!)
- fix day of year parsing (like "%y%j") (thanks, Doug Wilson)
1.22 2013-08-12
- add explicit copyright and license statements
- fix encoding of .pm files and add =encoding directive
1.21 2013-07-06
- fix installation target; now installs to site in v5.12 and later
- make Time::Seconds match its VERSION to Time::Piece
- numerous portability fixes imported from perl core distribution
1.20
- Fix for alloca broke Solaris
- Fixed documentation buggette about strptime
- Added ->pretty() method for Time::Seconds objects
- Add %s support to strptime
1.19
- Fix for alloca broke FreeBSD
1.18
- Fix for alloca on IRIX
1.17
- Force all to use internal strptime then everyone gets %z even OSX
users.
- Finally figured out the timezone test failures on Win32 and fixed
them.
1.16
- Implement %z for the internal implementation of strptime().
Unfortunately this doesn't get picked up everywhere, so there are
no tests for it (yet - patches welcome).
- Fix for major bug in add_months() using negative months which were
multiples of 12. Also affected add_years() with negative years.
- Fix for object creation bug in get_epochs which called new from
object but that wasn't supported in the new() code.
- Added docs about the weakness of using epoch seconds internally
and suggested alternatives.
- Removed useless "use UNIVERSAL qw(isa)" line.
- Fix for installing over core perl version.
1.15
- Skip a test on Win32 that there's just no way of passing
- Document the above failure
1.14
- rework add_months() to not rely on strptime being able to parse
illegal dates (Gisle Aas).
- Various win32 TZ fixes from p5p core perl version
1.13
- More QNX fixes ([email protected])
- Restore freebsd copyright on strptime.
- Added add_months and add_years methods.
1.12
- QNX fixes
- Merge with perl core version
1.11
- Skip %V test on Win32
1.10
- Number of bug fixes from RT
- (maintenance by Ricardo SIGNES)
- avoid warning in _mktime (bug #19677)
1.09
- (patches from Ricardo SIGNES)
- Tests largely moved to Test::More (from Test.pm)
- Time::Piece should now be safely subclassable
1.08
- A number of fixes for strptime
- Fixed docs wrt Time::Object references
- Fixed docs wrt ->month returning short month name
- Added ->fullmonth and ->fullday to get full day names
1.07
- Fix for ->week method
1.06
- Fix for Solaris pre-2.8
- Compilation checked on:
sparc solaris 2.7
sparc solaris 2.8
i686 linux
ia64 linux
pa-risc1.1 hpux 10.20
pa-risc2.0 hpux 11.00
alpha dec_osf 4.0
- Fixes for Win32 (Randy Kobes)
1.05
- Fix for Solaris (again)
1.04
- Slight fixes to strptime for Solaris and MacOSX
- Bug in strptime with daylight savings fixed.
1.03
- Updated MJD stuff (Tim Jeness)
- Added compare tests
- Ported test suite to Test.pm finally
1.01
- Added cs_sec and cs_mon to Time::Seconds so that
old Time::Object installs still work (except for add())