Date-Manip
view release on metacpan or search on metacpan
- Documentation fixes
Fixed a typo. Nicholas Bamber
6.30 2012-01-11
- (*) (!) Reworked deltas
Much of the delta code was reworked.
The constraint that a day is treated as 24 hours was removed (by
adding the concept of semi-exact deltas) to better handle daylight
saving time calculations.
Made cosmetic changes to which signs will be included in a delta to
make the deltas more readable. Signs which are the same as the next
higher field will be omitted, even if they cross set boundaries.
Added support for non-normalized deltas. See the $no_normalize
option for the parse and set methods.
Removed limitations on subtract=2 not working with business
calculations.
Thanks to discussion on perlmonks, and RT 65774 that prompted me to
do this. I'd been wanting to do it for some time, but the discussion
on perlmonks made me realize that this needed to be much higher
priority.
- (!) Modified Delta_Format
In conjunction with the above work, added the 'semi' mode to
Delta_Format.
- (!) Removed some deprecated config variables
The following config variables have been removed.
GlobalCnf
IgnoreGlobalCnf
PersonalCnf
PersonalCnfPath
PathSep
Internal
DeltaSigns
UpdateCurrTZ
ConvTZ
OldConfigFiles
ResetWorkDay
- Time zone fixes
Newest zoneinfo data (tzdata 2011n). RT 71595
Corrects a bug where +0000 and -0000 offsets were not parsed
correctly. Aaron Hall
The zoneinfo data includes rules more than 20 years in the future,
so we now store 30 years of future dates instead of 20 to catch
these rules.
When parsing the timezone portion of the date, timezone
abbreviations now take higher precedence than zone names (since that
is how timezone information is typically specified). That only
impacts dates where the a timezone name is the same as an
abbreviation, such as 'CET'.
Previously, a date with CET in it was interpreted as in the CET
timezone. Now it is interpreted as in a timezone with the CET
abbreviation.
- Better handling of undef in DM6
The date/delta parsing routines in DM6 will now handle an undef
argument without issuing a warning. Earl C. Ruby III
- Bug fixes
Fixed a bug with the parse_format %f and %i formats. Tommi Rintala
Fixed a bug where the Date::Manip::Delta::set function didn't work
to set the month value.
Fixed a bug where parsing some dates near during a DST change
failed.
Minor bug fix when using Delta_Format. Prompted while investigating
RT 41095.
6.25 2011-08-31
- Relaxed one constraint in ISO 8601 dates
A time separated by whitespace from the date can use a single digit
hour. Yuming Philip Xiang
- (*) Set official removal dates for old config variables
Config variables will be removed 2 years after they are deprecated
(except for the TZ variable which, due to it's wide use, will be
kept for 4 years).
- Time zone fixes
Newest zoneinfo data (tzdata 2011i)
6.24 2011-06-13
- New features
Spaces are ignored in the SetDate/ForceDate config values. Zsban
Ambrus
- Bug fixes
Fixed a bug where 'in one week' wasn't correctly parsed. E. M.
Shtern
Fixed a bug where options passed in to the 'new' as a listref
weren't handled properly. Zsban Ambrus
- Time zone fixes
Newest zoneinfo data (tzdata 2011g)
6.23 2011-04-15
- (!) Renamed one Date::Manip::Recur method
The Date::Manip::Recur::base method has been renamed to basedate .
The Date::Manip::Recur::base method should return the
Date::Manip::Base object like all the other Date::Manip modules.
- (*) Reworked holidays defined as recurrences
Improved dealing with the bootstrap problem of defining holidays,
especially those that contain business day flags. Mike Tonks
- New features
The printf function will now take multiple format strings and return
a list of values. Zsban Ambrus
( run in 2.606 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )