Date-Manip
view release on metacpan or search on metacpan
- Documentation fixes
Fixed a grammatical error reported by Xavier Guimard (GitHub #19).
6.71 2018-06-01
- Fixed an extremely rare problem with recurrences
It is possible to specify a recurrence that never produces a valid
date. In these cases, looking for dates went into an infinite loop.
The MaxRecurAttempts config variable was added which will stop that
from happening. If no occurrence was found, an error condition will
be set. Dean Hamstead (RT 123708)
- Changes file supported
It was requested that I include a valid Changes file. I wrote a
simple script to convert the Change6.pod file into a valid Change
file. The Changes6.pod file is still the canonical source of this
information! Requested by H. Merijn Brand
- Fix for timezone determination
On MacOS X High Sierra, some of the timezone files were symlinks,
but not properly followed. This was fixed by Stu Tomlinson (GitHub
#15).
- Time zone fixes
Newest zoneinfo data (tzdata 2018e)
- Documentation fixes
Minor fix provided by Mohammad S Anwar (GitHub #17)
6.70 2018-03-01
- (*) (!) Changes to deltas
Improved handling of deltas to better support the different types of
deltas. Formalized how the semi-exact portions of the delta are used
to produce the results that most people would expect.
The type can now be specified to guarantee several behaviors.
Changed the arguments (in a backward compatible way) to several
methods. Explicitly added a new type (estimated) which was there
previously, but could not be manually specified.
The convert function continues to support converting from a less
exact type to a more exact type, but this is deprecated and will be
removed in version 7.00.
This was prompted by a bug reported by Ian Gibbs.
- (*) (!) Deprecated some parts of Date::Manip::Delta
The options passed to the set and parse methods have changed. The
old style will be removed in version 7.00.
Deltas will also no longer support the 'exact' and 'approximate'
strings (which have not been supported for some time). These will be
removed in 7.00 as well.
- Deprecation of TZ postponed
The deprecation of the TZ variable has been postponed to version
7.00.
- Some speed improvements
I converted some of the functions to use faster algorithms.
Previously, the steps were worked out using logical time/calendar
based calculations. These were replaced with non-intuitive numerical
calculations that gave the same result faster.
- Changed behavior if timezone not determined
If the system timezone cannot be determined using any of the methods
supplied by Date::Manip, operations will be done in the GMT
timezone. Previously, Date::Manip would simply fail to load. Based
on a report by Kent Fredric (RT 123229).
- Fixed Makefile.PL
The list of what what is provided did not include the path to the
file providing each module. I've fixed the Makefile.PL as well as
the META files. Graham Knop (GitHub #13)
- Time zone fixes
Newest zoneinfo data (tzdata 2018c)
- Documentation fixes
Rewrote Date::Manip::Delta page to reflect changes, and clean up the
documentation in general.
6.60 2017-09-01
- Bug fixes
Fixed a bug where if a recurrence had no interval, start and end
dates passed in to the dates method would not work. PJ-DSI-DevOps
(GitHub #12).
- Documentation fixes
Clarified Date::Manip::TZ::all_periods. Based on discussion with
Peter Pfannenschmid.
6.59 2017-06-01
- Time zone fixes
Newest zoneinfo data (tzdata 2017b)
- Documentation fixes
Improved some of the documentation.
6.58 2017-03-01
- Better support for $mode in DateCalc.
DateCalc (in DM6) did not support all values for $mode. Now it does.
- Bug fixes
Parsing a date like 01/02/2016 and calling printf with %e gave '02'
instead of ' 2'. Robert Wohlfarth (RT 119787).
Fixed a problem where the tzdata method of determining the timezone
was producing an error which wasn't correct. John (GitHub #8)
- Time zone fixes
Newest zoneinfo data (tzdata 2017a)
6.57 2016-12-01
- Time zone fixes
Newest zoneinfo data (tzdata 2016j)
- Test fixes
A faulty test was failing in a few places. RT 118705
Another test was failing due to a perl bug that popped up in 5.25.7.
( run in 2.438 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )