10.44 2018-05-09 2 - Bug fix in Time::Moment::Adjusters that prevented the exportation 3 of OrthodoxEasterSunday(). Reported by David Romano (unobe) #29. 4 - Bug fix in Time::Moment::Adjusters, the PreviousDayOfWeek() routine 5 computed an incorrect value, fix by Simon Shine (sshine) and tests 6 by Julien Fiegehenn (simbabque) and Simon Shine #31 and PR #32. 7 80.43 2018-03-08 9 - Correct commification of epoch seconds in documentation. 10 PR #26, by Tim Heaney (oylenshpeegul). 11 - The macro test around the inclusion of stdbool.h was too broad and 12 didn't account for compiler abilities. PR #28 by Dale Ghent (daleghent). 13 140.42 2017-04-10 15 - Avoid relying on current working directory being in @INC 16 170.41 2016-12-10 18 - Time::Moment 19 - Documented the precision value returned by ->precision() 20 - Documented the optional precision value in ->compare() 21 - Time::Moment::Adjusters 22 - Corrected the NearestMinuteInterval example 23 - Increased and documented the accepted values for NearestMinuteInterval 24 250.40 2016-11-26 26 - Correct forward function declaration to include interpreter context 27 Bug fix for #22, compilation with threaded perls. Reported by 28 Slaven Rezić (eserte). 29 300.39 2016-11-25 31 - Added following methods to Time::Moment: 32 - precision 33 - with_precision 34 - Added following adjusters to Time::Moment::Adjusters: 35 - WesternEasterSunday() 36 - OthodoxEasterSunday() 37 - NearestMinuteInterval($interval) 38 - Added following examples to eg/ 39 - eg/se_bank_holidays.pl 40 410.38 2016-01-22 42 - Added following methods to the API: 43 - is_leap_year 44 - Added following examples to eg/ 45 - eg/age.pl 46 470.37 2015-12-18 48 - Added following methods to the API: 49 - with_quarter 50 - Clarified parts of documentation 51 520.36 2015-10-11 53 - Applied patch from Vitaliy V. Tokarev (issue #15) which addresses build 54 issues on Solaris with Sun Compiler. 55 560.35 2015-10-10 57 - Added support for named parameters in from_epoch 58 - Fix a compiler issue related to PERL_UNUSED_VAR(), reported by CPAN 59 smokers, <http://www.cpantesters.org/distro/T/Time-Moment.html?grade=5&version=0.34>. 60 610.34 2015-10-10 62 - This release has no code changes. Re-released without object files. 63 640.33 2015-10-10 65 - Fixed a bug in from_rd, from_jd and from_mjd when Perl is compiled 66 with long double. Reported by Slaven Rezić (SREZIC), issue #19. 67 680.32 2015-10-09 69 - Added Test::Number::Delta v1.06 as a test prerequisite 70 - Increased test coverage 71 - Added following methods to the API: 72 - from_rd 73 740.31 2015-09-28 75 - Added following methods to the API: 76 - delta_years 77 - delta_months 78 - delta_weeks 79 - delta_days 80 810.30 2015-09-23 82 - Fixed a bug in the delta methods that where added in previous release. The 83 result should be negative if the other time is before the time of the 84 invocant. 85 - Added two examples to eg/ 86 - eg/ago.pl 87 - eg/beat.pl 88 890.29 2015-09-17 90 - Changed the fractional second precision in from_epoch() when invoked with 91 a floating point value from nanosecond precision to microsecond precision. 92 - Changed the exception message in ->from_string(), from "Cannot parse ..." 93 to "Could not parse ...". 94 - Added following methods to the API: 95 - delta_hours 96 - delta_minutes 97 - delta_seconds 98 - delta_milliseconds 99 - delta_microseconds 100 - delta_nanoseconds 101 - microsecond_of_day 102 - nanosecond_of_day 103 - with_microsecond_of_day 104 - with_nanosecond_of_day 105 1060.28 2015-09-12 107 - Changed the lenient mode in ->from_string to be more lenient. The string 108 representation may now consist of a mixture of the basic format and the 109 extended format. e.g. the date may be in the basic format, while the 110 time of day is in the extended format, 20121224T12:15:30Z. 111 - Changed the fractional second precision in ->jd, ->mjd and ->rd from 112 nanosecond to millisecond, higher precision can be returned by providing 113 the optional named parameter precision. 114 - Applied pull request by Gareth Harper (GHARPER) which fixes test issues, 115 due to changes in Test::More (pull request #17). 116 1170.27 2015-09-02 118 - Added ->with method 119 - Added Time::Moment::Adjusters 120 - Added following examples to eg/ 121 - eg/cal.pl 122 - eg/excel.pl 123 - eg/us_federal_holidays.pl 124 1250.26 2015-08-28 126 - The optional epoch date in ->from_jd and ->from_mjd has changed from 127 0001-01-01T00Z to 0000-12-31T00Z (Rata Die). 128 - Applied patch from Vitaliy V. Tokarev (issue #15) which addresses builds 129 on Solaris. 130 - Added following methods to the API: 131 - minutes_of_day 132 - with_minutes_of_day 133 - millisecond_of_day 134 - with_millisecond_of_day 135 - Internals has been refactored to ease maintainability 136 - Added more test cases 137 1380.25 2015-07-07 139 - Added following methods to the API: 140 - from_jd 141 - from_mjd 142 - rd 143 1440.24 2015-05-20 145 Bug fix for when Perl is compiled with threads. 146 - Bug introduced in 60591ef (0.23) fixes issue #13, reported by 147 Dmytro Zagashev (ZDM). 148 1490.23 2015-05-19 150 - Added following methods to the API: 151 - at_midnight 152 - at_noon 153 - at_last_day_of_year 154 - at_last_day_of_quarter 155 - at_last_day_of_month 156 - with_second_of_day 157 1580.22 2015-02-14 159 - Fixed issue #12. Redefinition of bool with Visual Studio 2013 C compiler, 160 reported by A. Sinan Ünür (NANIS). 161 - Added following method: 162 - second_of_day 163 1640.21 2014-11-23 165 - Added following methods to increase consistency in the API: 166 - with_week 167 - with_day_of_week 168 - length_of_week_year 169 1700.20 2014-11-04 171 - Reduced the required accuracy in ISO 8601 representations, previously 172 the time of day where required to include hour and minute, the required 173 accuracy has now been reduced to hour. 174 - Documented the %w conversion specification in ->srtftime, reported 175 by Peter Isaksson. 176 - Minor documentation tweaks. 177 1780.19 2014-10-08 179 - Fixed Makefile.PL to only check if Module::Install is missing, should 180 make it possible to install using cpanm. 181 - Added accessors for Julian Date (->jd) and Modified Julian Date (->mjd). 182 1830.18 2014-09-09 184 - Ensure that the referenced object has a SvREFCNT of 1 before trying to 185 reuse the invocant, fixes issue #7. Reported by Tomohiro Hosaka (bokutin). 186 - Added accessor method ->utc_year, used by DateTime::TimeZone for dates 187 far into the future, fixes issue #6. Reported by Karl Lohner (klohner). 188 1890.17 2014-08-07 190 - Ensure that the SvREFCNT is 1 before trying to reuse the invocant in 191 chained method calls (leont++). 192 - Require Test::Fatal v0.006 or higher, fixes issue #5. Reported by 193 Doug Bell (preaction). 194 - Removed the "early preview release" warning from the documentation. 195 1960.16 2014-03-18 197 - Fixed the Storable thaw method to account for negative offsets 198 - Corrected documentation for length_of_{year,quarter,month} methods 199 - Added following methods to increase consistency in the API: 200 - with_day_of_quarter() 201 - with_millisecond() 202 - with_microsecond() 203 - plus_milliseconds() 204 - plus_microseconds() 205 - minus_milliseconds() 206 - minus_microseconds() 207 2080.15 2014-02-23 209 - Changed API in to_string() to use named parameters instead of boolean to 210 make the API more consistent. 211 - Added three new methods: 212 - length_of_year() 213 - length_of_quarter() 214 - length_of_month() 215 - Corrected typedef declaration in dt_config.h, should now hopefully 216 compile correctly on Windows when using MSC. 217 2180.14 2014-01-26 219 - Changed now() to use the reentrant localtime_r() if provided by libc 220 - Added support for the literal strings 'UTC' and 'GMT' as UTC designator 221 in from_string() when lenient is true. 222 - Sereal is now a supported serializer, documented and tested. Added an 223 examample of usage, eg/sereal.pl 224 2250.13 2014-01-04 226 - Implemented ->with_offset_same_local() 227 - Renamed the method ->with_offset to ->with_offset_same_instant, the old 228 method name is aliased. 229 - Added a new section to the documentation "TIME ZONES" which shows how to 230 convert between time zones using DateTime::TimeZone. 231 - Added more tests 232 2330.12 2013-12-29 234 - Implemented support for lenient parsing in ->from_string, should be capable 235 of parsing most ISO 8601 profiles, including non conformant ISO 8601 236 representations such as ISO 9075. 237 - Implemented support for generic FREEZE / THAW serialization, upcomming Sereal 238 will support these callbacks. 239 - Implemented ->new 240 - Refactored test suite and added more tests 241 - Implemented support for GNU's '_', '-' and '0' flags in ->strftime() 242 - Added eg/strftime.pl 243 2440.11 2013-12-15 245 - Added support for date/time arithmethics 246 - Added support for altering the components of the date/time 247 - Changed ->from_epoch to only accept seconds and nanosecond parameters 248 - Added POD section with example format strings 249 - Documentation improvements 250 2510.10 2013-12-07 252 - Added support for fractional seconds in the constructor ->from_epoch 253 - Added serialization support for: 254 - Storable 255 - JSON 256 - CBOR 257 - Changed the method ->to_string to return the same string representation 258 as stringification. 259 - Optimized the usage of chained method calls from constructors. 260 - Added eg/cbor.pl and eg/json.pl 261 2620.09 2013-12-05 263 - Added new constructor method, ->now_utc 264 - Added two extended conversion specifications, %k and %l. Both common in 265 GNU, BSD and perl implementations of strftime() 266 - The extended %f conversion specification now accepts an optional maximum 267 field width 268 - Documented remaining methods and overloaded operators 269 - Added the now_utc constructor to dev/bench.pl 270 2710.08 2013-12-04 272 - Changed resolution from microsecond to nanosecond 273 - Implemented ->with_nanosecond() 274 - Documentation improvements 275 - Fixed strftime() to preserve the SvUTF8 flag if the given format 276 string has the SvUTF8 flag set. 277 - Overhauled strftime() conversion specifications to better confirm to 278 IEEE Std 1003.1. Extended conversion specifications is now documented 279 as such. 280 2810.07 2013-12-02 282 - Documented most of the API. 283 - Implemented ->to_string(). 284 - Changed stringification to only include fractional seconds in output 285 if present. 286 2870.06 2013-11-31 288 - Added more docs. 289 2900.05 2013-11-30 291 - Renamed internal variable pow10 to prevent symbol clashes 292 2930.04 2013-11-30 294 - Added accessor for week of the year, ->week 295 - Implemented support for parsing of any ISO 8601 date and time of day 296 in both extended and basic format. For example: 297 - 0001-01-01T00:00:00Z (Calender date, extended format) 298 - 00010101T000000Z (Calender date, basic format) 299 - 0001-W01-1T00:00:00Z (Week date, extended format) 300 - 0001W011T000000Z (Week date, basic format) 301 - 0001-001T00:00:00Z (Ordinal date, extended format) 302 - 0001001T000000Z (Ordinal date, basic format) 303 - Added localtime() and POSIX::strftime() to benchmark, invoking 304 Time::Moment->now is ~ 70% faster than invoking localtime(). 305 3060.03 2013-11-28 307 - Renamed variable 'sun' to 'sunday' to prevent conflict on Solaris 308 operating system which defines a macro named 'sun'. (leont++) 309 3100.02 2013-11-25 311 - Implemented ->from_string() in C 312 - Implemented ->now() in C if the system supports gettimeofday(2) 313 - Added dev/sizeof.pl 314 - Added Time::Piece to dev/bench.pl 315 3160.01 2013-11-24 317 - Initial CPAN preview release. 318 319