|
Packit |
95306a |
# Copyright (c) 2009-2017 Sullivan Beck. All rights reserved.
|
|
Packit |
95306a |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit |
95306a |
# under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
# Changes are listed in the order:
|
|
Packit |
95306a |
#
|
|
Packit |
95306a |
# =item SPECIFIC IMPORTANT CHANGE
|
|
Packit |
95306a |
# =item New features
|
|
Packit |
95306a |
# =item Bug fixes
|
|
Packit |
95306a |
# =item Time zone fixes
|
|
Packit |
95306a |
# =item Language fixes
|
|
Packit |
95306a |
# =item Test fixes
|
|
Packit |
95306a |
# =item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=pod
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 NAME
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip::Changes6 - changes in Date::Manip 6.xx
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SYNOPSIS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This describes the changes made to the Date::Manip module in the 6.xx
|
|
Packit |
95306a |
series of releases. Major changes are marked with asterisks (*).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
For the most part, Date::Manip has remained backward compatible at
|
|
Packit |
95306a |
every release, but occasionally, a change is made which is backward
|
|
Packit |
95306a |
incompatible. These are marked with an exclamation mark (!).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.61 (planned 2017-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.60 (planned 2017-09-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where if a recurrence had no interval, start and end dates passed
|
|
Packit |
95306a |
in to the dates method would not work. PJ-DSI-DevOps (GitHub #12).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clarified Date::Manip::TZ::all_periods. Based on discussion with
|
|
Packit |
95306a |
Peter Pfannenschmid.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.59 (2017-06-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2017b)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improved some of the documentation.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.58 (2017-03-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Better support for $mode in DateCalc.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
DateCalc (in DM6) did not support all values for $mode. Now it does.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Parsing a date like 01/02/2016 and calling printf with %e gave '02' instead
|
|
Packit |
95306a |
of ' 2'. RT 119787.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a problem where the tzdata method of determining the timezone was
|
|
Packit |
95306a |
producing an error which wasn't correct. John (GitHub #8)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2017a)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.57 (2016-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2016j)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A faulty test was failing in a few places. RT 118705
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Another test was failing due to a perl bug that popped up in 5.25.7. Tweaked
|
|
Packit |
95306a |
the test to bypass the bug. RT 118862
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.56 (2016-09-09)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A faulty test was failing most places. New release to correct that problem.
|
|
Packit |
95306a |
RT 117404
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.55 (2016-09-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Fixed bug where C<$::TZ> wasn't used
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The C<$::TZ> variable was not getting interpreted correctly when searching
|
|
Packit |
95306a |
for a timezone. RT 114949.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Fixed bug where recurrences were not parsed correctly
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Passing in incorrect values for a field was not trapped in all cases
|
|
Packit |
95306a |
and it led to problems. All values passed in to a recurrence are now
|
|
Packit |
95306a |
correctly checked. Albert Hilazo (GitHub #7).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Fixed a bug in some methods of creating new objects
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Some methods of creating new objects based on existing objects did not
|
|
Packit |
95306a |
correctly use the existing object. Bug has never been reported, but was
|
|
Packit |
95306a |
discovered when adding tests to get 100% coverage.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2016f)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added a number of new tests based on Devel::Cover.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.54 (2016-05-31)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Deprecation of Date::Manip 5.xx tests
|
|
Packit |
95306a |
|
|
Packit |
95306a |
By default, the Date::Manip 5.xx tests will no longer run. Changes to
|
|
Packit |
95306a |
the timezone data can cause failures. Since Date::Manip 5.xx is no longer
|
|
Packit |
95306a |
supported in any way, these tests will no longer run on a system where
|
|
Packit |
95306a |
6.xx can be run. Richard Jelinek.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Deprecation of TZ postponed
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The deprecation of the TZ variable has been postponed to March 2017. I
|
|
Packit |
95306a |
decided that 1 year was not enough notice (especially since not everyone
|
|
Packit |
95306a |
will have updated Date::Manip since March 2015 when the warning was added.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Changed requirement for ExtUtils::MakeMaker to 6.67_01. RT 112286
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where a timezone abbreviation was not parsed correctly when
|
|
Packit |
95306a |
passed in as a value to the SetDate, ForceDate, or TZ config variables.
|
|
Packit |
95306a |
Based on a report in perlmonks.org.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2016d)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Made some improvements to how I handled the timezone data which resulted
|
|
Packit |
95306a |
in a few of the default timezones being changed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed one more typo. RT 114095
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clarified the Config document. Based on a report in perlmonks.org.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.53 (2016-03-02)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip::Delta::cmp had a bug in it's comparison. Ian Gibbs.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The secs_since_1970_GMT method was missing a test to see if it was
|
|
Packit |
95306a |
a valid object. RT 111915
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2016a)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lots of typos fixed. I was using podspell to do spell checking, but it was
|
|
Packit |
95306a |
discarding too much real text (which wasn't getting checked as a result).
|
|
Packit |
95306a |
Switched to pod2text which does a better job. RT 110025
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.52 (2015-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Added date ranges on unmodified dates in Recur>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The date range can now be specified for either the fully modified dates, or
|
|
Packit |
95306a |
the unmodified dates. This will make it easier to work with holidays in some
|
|
Packit |
95306a |
instances. Based on L<http://perlmonks.org/?node_id=1148735>.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Added IWn and NWn recurrence modifiers>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Based on L<http://perlmonks.org/?node_id=1148735>.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Reworked holidays slightly>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previously, every line in the Holidays section defined a unique holiday.
|
|
Packit |
95306a |
Now, the names determine the list of holidays.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
It is not allowed to have two separate holidays named exactly the same.
|
|
Packit |
95306a |
It IS allowed to have complex holidays that require two (or more) lines
|
|
Packit |
95306a |
in the Holidays section to define them completely.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Based on L<http://perlmonks.org/?node_id=1148735>.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where the RecurRange config variable wasn't getting used.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where some deltas were not parsed correctly as dates.
|
|
Packit |
95306a |
RT 109600
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2015g)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added a number of new tests based on Devel::Cover.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.51 (2015-09-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Changes suggested by perlcritic
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Played with perlcritic and made a few minor changes based on it's suggestions.
|
|
Packit |
95306a |
I doubt I will use perlcritic significantly.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Date::Manip::Delta::value now returns an empty string>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
If a delta has an error, or no valid delta in it, the value method returns
|
|
Packit |
95306a |
an empty string instead of undef. This is to be consistent with the
|
|
Packit |
95306a |
Date::Manip::Date::value method which returns an empty string.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where date/delta calculations with deltas that are too
|
|
Packit |
95306a |
large was not working correctly. They now set an error condition
|
|
Packit |
95306a |
and fail. RT 105737
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug introduced by the previous patch and luckily discovered
|
|
Packit |
95306a |
pre-release by Tom Wyant.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed code that produced a warning in 5.22.0. Tom Wyant
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Improved DM6 ParseDate and ParseDateString
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added C<@opts> argument. Based on RT 105622.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2015f)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Now uses /etc/localtime as a method to determine the local timezone.
|
|
Packit |
95306a |
Patch supplied in RT 105159 (modified by me). The patch uses some
|
|
Packit |
95306a |
code derived from DateTime::TimeZone .
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clearer message when the date is not valid in the timezone.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added a number of new tests based on Devel::Cover. Over the next several
|
|
Packit |
95306a |
releases, I intend to continue to add tests until coverage is 100%.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a typo. RT 105546
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.50 (2015-06-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Not really a bug, but 6.49 got a bunch of NYTprof data bundled with it
|
|
Packit |
95306a |
by mistake. It's been removed. RT 103252
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where information about whether a date was complete or
|
|
Packit |
95306a |
truncated was discarded. Jim Avera
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where SetDate with a zone alias failed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the Format_MMMYYYY config variable to allow the truncated format
|
|
Packit |
95306a |
mmmYYYY to be parsed instead of mmmDDYY. David W. Morganwalp and RT 103142
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed Makefile.PL/Build.PL to correct for a change on perl on windows
|
|
Packit |
95306a |
which changes a module prereq requirement. Alexandr Ciornii
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2015d)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added aliases for older HP-UX time zones. RT 104141
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed URL for tzdata. Mohammad S Anwar (GitHub #3).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Better POD formats.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a documentation error. RT 103966
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.49 (2015-03-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added a deprecation warning
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The TZ config variable is going away. Added a deprecation warning.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Some speedups for timezone handling
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Based on RT 102284, I have done some optimization of the timezone handling
|
|
Packit |
95306a |
code.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the missing is_date base method to Date::Manip::Base. Mario Domgoergen.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2015a)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A number of corrections by Nicholas Riley
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.48 (2014-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Put repository on GitHub
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Suggested by Gabor Szabo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item parse_time now parses ISO 8601 times
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The parse_time routine wouldn't correctly parse ISO 8601 times. This
|
|
Packit |
95306a |
is now fixed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Parsing special dates with timezones now works
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Parsing special date formats with timezones is now supported such as:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Christmas at noon PST
|
|
Packit |
95306a |
in 3 days at noon PST
|
|
Packit |
95306a |
now PST
|
|
Packit |
95306a |
epoch 3000000 PST
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item dm_zdump modified
|
|
Packit |
95306a |
|
|
Packit |
95306a |
To match the newest version of zdump, the gmtoff is now added at the end
|
|
Packit |
95306a |
of each line.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug in the printf method that would not handle embedded newlines
|
|
Packit |
95306a |
correctly (and resulted in an infinite loop if it were preceded by a '%').
|
|
Packit |
95306a |
Henrique Martins
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where '24:00' was not parsed correctly (though '24:00:00' was).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where fractional values separated by a comma weren't parsed
|
|
Packit |
95306a |
correctly.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2014j)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.47 (2014-09-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2014f)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed some encoding errors in the language pod documentation.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.46 (2014-07-08)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Broken distribution
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The distribution contained an temporary edit file that caused problems.
|
|
Packit |
95306a |
RT 96459
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2014e)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added some plural abbreviations that were missing. RT 96944
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.45 (2014-06-05)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Fixed a test
|
|
Packit |
95306a |
|
|
Packit |
95306a |
One test was failing (reported in RT 96249 as well as several CPAN Tester
|
|
Packit |
95306a |
reports).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.44 (2014-06-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Improvements to UTF8 handling>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A number of changes based on RT 93545 and other discussion with Yuri Nikulin
|
|
Packit |
95306a |
including:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Case insensitive matching of UTF8 strings should work all the time.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed two significant bugs in regexps for parsing dates.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improvements to UTF8 handling.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Corrected some problems with Russian and added the cp1251 encoding.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
One correction to Romanian.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added several new test scripts.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Preliminary patches were supplied by Yuri.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Modified the parse_format function to return %+ if desired. Mike Cappella
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2014c)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clarified some DM6 functions. David Close.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a typo. RT 95619
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.43 (2014-03-03)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Several changes to distribution files
|
|
Packit |
95306a |
|
|
Packit |
95306a |
I made several changes to Build.PL, Makefile.PL, META.yml in order to
|
|
Packit |
95306a |
improve the quality (or kwalitee) of the module. None of these should
|
|
Packit |
95306a |
impact anyone using the module.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2013i)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Cleaned up some of the Recur documentation. Suggested by RT 92794
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.42 (2013-12-02)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added ParseDateFormat function
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the ParseDateFormat function to the DM6 functional interface
|
|
Packit |
95306a |
in response to RT 89286.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added Common Log format
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the date format used in apache logs: 11/Oct/2000:13:55:36 -0700
|
|
Packit |
95306a |
RT 89286.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2013h)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where dates of the form of a delta with a timezone attached
|
|
Packit |
95306a |
(i.e. "1 day ago at midnight UTC") failed. RT 89256
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where events handling gave a warning if there were no events
|
|
Packit |
95306a |
that applied. RT 90344
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.41 (2013-09-05)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Removed a .swp file accidentally left in the package. RT 85845
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug in parse_format where times between 00:00:00 and 01:00:00 weren't
|
|
Packit |
95306a |
parsed correctly. Ole Nomann Thomsen
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed generated META.* files to not require Module::Build 0.39. RT 86137
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where parse_format did not work with a '%s' format. RT 87498
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where find_encoding wasn't imported from the Encode module. RT 87665
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where recurrences with no interval did not work if a start and
|
|
Packit |
95306a |
end date were specified, and no dates fell in that range. Jan Pradac
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2013d)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.40 (2013-06-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Removed PODs
|
|
Packit |
95306a |
|
|
Packit |
95306a |
POD documentation is no longer generated for Date::Manip::TZ::* and
|
|
Packit |
95306a |
Date::Manip::Offset::* modules.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2013c)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.39 (2013-03-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added the $mode argument to ParseDateDelta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The ParseDateDelta function (in functional interface) did not allow you
|
|
Packit |
95306a |
to force a parsed delta to semi or approx where appropriate. This
|
|
Packit |
95306a |
was added. Based on RT 82991).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added get_config method
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The get_config method was added to all classes. Suggested by Philippe Poilbarbe.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a German language problem. Gosta Oelstrom
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Documented workaround for dmake problem in strawberry perl. Discussed on
|
|
Packit |
95306a |
perlmonks and RT 79837.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clarified the Examples page. Winston Heng
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.38 (2013-01-08)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Tar file format corrected>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Problems were reported on several OSes by people unable to install Date::Manip
|
|
Packit |
95306a |
(and other modules). It turns out that the version of tar distributed by
|
|
Packit |
95306a |
my linux distro (OpenSuSE) uses the 'posix' format instead of the traditional
|
|
Packit |
95306a |
'gnu' format by default. This causes problems for some versions of tar. I
|
|
Packit |
95306a |
have had reports from OSX, Windows, and SunOS. Future versions of
|
|
Packit |
95306a |
Date::Manip will be explicitly distributed in the 'gnu' tar archive format.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Reported by Jay Allen and RT 80594.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Date::Manip 5.xx end-of-life>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip 5.xx is now officially out of support. I will not be doing
|
|
Packit |
95306a |
any further work on it. The only exception is that I will consider
|
|
Packit |
95306a |
adding user supplied patches on a case-by-case basis.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
If at all possible, please use Date::Manip 6.xx instead.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Removed some deprecated config variables>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following config variables have been removed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
IntCharSet
|
|
Packit |
95306a |
RecurNumFudgeDays
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.37 (2012-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where ISO 8601 format YYYY-WXX-D didn't work if the week ended
|
|
Packit |
95306a |
up in December. Gordon Lugauer.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2012j)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Spelling error fixed. RT 80621
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.36 (2012-10-31)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This was an interim release to fix the version numbers (6.35 was
|
|
Packit |
95306a |
released with all of the version numbers 6.34).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.35 (2012-10-31)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This was an interim release to fix the problem with the PATH being
|
|
Packit |
95306a |
replaced.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Removed dependency on YAML
|
|
Packit |
95306a |
|
|
Packit |
95306a |
I've reverted the language data files to perl literals instead of YAML. Though
|
|
Packit |
95306a |
not quite as easy to maintain, it solves a few problems. Patch provided by
|
|
Packit |
95306a |
Christopher Madsen.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Last versions fix for RT 78566 overrode the PATH even when that wasn't
|
|
Packit |
95306a |
appropriate. This is fixed. Report and patch supplied by RT 80435.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.34 (2012-09-04)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This is a bug fix so that the PATH won't break non-unix installs.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Put the PATH inside the Unix section so it doesn't affect non-unix
|
|
Packit |
95306a |
environments. Geoff Rowell
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.33 (2012-09-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 5
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Improvements to Date::Manip::Delta
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added convert method. This had been planned since 6.30, but based on
|
|
Packit |
95306a |
a discussion with Henrique Martins, I moved it up in priority.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Cleaned up handling of delta field lengths (they are now only calculated
|
|
Packit |
95306a |
once.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added cmp method. Henrique Martins
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The language modules read from the DATA section, but I never closed the
|
|
Packit |
95306a |
filehandle. This is fixed now. Patch by Doru Theodor Petrescu
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added better loading of DM5/DM6 modules. RT 78512
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added a secure PATH to TZ.pm for taint reasons. In response to RT 78566
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Now supports timezones in files with spaces where there should be
|
|
Packit |
95306a |
underscores. This occurs in RHEL desktop. RT 78566
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2012e)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Minor fix. Henrique Martins
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.32 (2012-06-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Modified Build.PL
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Build.PL now has better support for building (or not building) HTML files.
|
|
Packit |
95306a |
Apparently this is slow on Windows. Patch provide in RT 75118.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug in business day calculations. RT 76336
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where Delta/Recur objects weren't correctly created. Zsban Ambrus
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where SetDate/ForceDate config variables could not be included
|
|
Packit |
95306a |
in a file. Jerry Wilcox
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2012c).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Better support for UTF-8 in autogenerated language module pod files.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.31 (2012-03-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added extended formats to printf method.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
These include the %<A=NUM>, %<a=NUM>, %<v=NUM>, %<B=NUM>, %<b=NUM>,
|
|
Packit |
95306a |
%<p=NUM>, and %<E=NUM> formats. Chris Jackson
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Can now parse formats where the time and zone are not adjacent
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A string like 'Jan 21 17:13:27 2010 -0400' can now be parsed. Requested
|
|
Packit |
95306a |
on perlmonks ('Can Date::Manip parse a unix timestamp' thread).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added PeriodTimeSep config variable.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This allows you to use a period as a time separator. Ed Avis
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Holidays can be used as date strings
|
|
Packit |
95306a |
|
|
Packit |
95306a |
You can now parse a holiday name in the Date::Manip::Date::parse method.
|
|
Packit |
95306a |
For example, parse('Christmas'). Requested by Abigail.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added new recur modifiers
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added WDn, IBD, and NBD modifiers.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Added a new date format
|
|
Packit |
95306a |
|
|
Packit |
95306a |
You can now parse '2nd day in May' formats. Randy Harmon
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item More flexibility in parsing timezones with both offset and abbrev
|
|
Packit |
95306a |
|
|
Packit |
95306a |
If you include both the offset and abbreviation in the timezone portion
|
|
Packit |
95306a |
of a date, the parenthesis around the abbreviation are now optional, so
|
|
Packit |
95306a |
you can parse both:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
-04:00 (EDT)
|
|
Packit |
95306a |
-04:00 EDT
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Requested by Steven Melendez.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Deltas now support fractional values.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
You can now use a delta of 1.5 days. RT 42699
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Multiple holidays supported
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A date may now have multiple holidays. Keith Minkler
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where abbreviations were not being examined case insensitively.
|
|
Packit |
95306a |
Jurgen Muck
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The Holidays section may be safely split across multiple config files.
|
|
Packit |
95306a |
A bug prevented this from working before.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The Norwegian translation was broken due to a typo in the language module.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Included complete documentation for each language.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a couple problems with Danish. Nicholas Oxhaj
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added Finnish (from a VERY old mail that I overlooked somehow). Iikka
|
|
Packit |
95306a |
Virkkunen
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Cleaned up the values used by printf directives to give the expected
|
|
Packit |
95306a |
result.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a typo. Nicholas Bamber
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.30 (2012-01-11)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) (!) Reworked deltas>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Much of the delta code was reworked.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The constraint that a day is treated as 24 hours was removed (by
|
|
Packit |
95306a |
adding the concept of semi-exact deltas) to better handle daylight
|
|
Packit |
95306a |
saving time calculations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Made cosmetic changes to which signs will be included in a delta to
|
|
Packit |
95306a |
make the deltas more readable. Signs which are the same as the next
|
|
Packit |
95306a |
higher field will be omitted, even if they cross set boundaries.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added support for non-normalized deltas. See the $no_normalize
|
|
Packit |
95306a |
option for the parse and set methods.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Removed limitations on subtract=2 not working with business
|
|
Packit |
95306a |
calculations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Thanks to discussion on perlmonks, and RT 65774 that prompted me to do
|
|
Packit |
95306a |
this. I'd been wanting to do it for some time, but the discussion on
|
|
Packit |
95306a |
perlmonks made me realize that this needed to be much higher priority.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Modified Delta_Format>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In conjunction with the above work, added the 'semi' mode to
|
|
Packit |
95306a |
Delta_Format.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Removed some deprecated config variables>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following config variables have been removed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
GlobalCnf
|
|
Packit |
95306a |
IgnoreGlobalCnf
|
|
Packit |
95306a |
PersonalCnf
|
|
Packit |
95306a |
PersonalCnfPath
|
|
Packit |
95306a |
PathSep
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Internal
|
|
Packit |
95306a |
DeltaSigns
|
|
Packit |
95306a |
UpdateCurrTZ
|
|
Packit |
95306a |
ConvTZ
|
|
Packit |
95306a |
OldConfigFiles
|
|
Packit |
95306a |
ResetWorkDay
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2011n). RT 71595
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Corrects a bug where +0000 and -0000 offsets were not parsed correctly.
|
|
Packit |
95306a |
Aaron Hall
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The zoneinfo data includes rules more than 20 years in the future, so we
|
|
Packit |
95306a |
now store 30 years of future dates instead of 20 to catch these rules.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When parsing the timezone portion of the date, timezone abbreviations
|
|
Packit |
95306a |
now take higher precedence than zone names (since that is how timezone
|
|
Packit |
95306a |
information is typically specified). That only impacts dates where
|
|
Packit |
95306a |
the a timezone name is the same as an abbreviation, such as 'CET'.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previously, a date with CET in it was interpreted as in the CET timezone.
|
|
Packit |
95306a |
Now it is interpreted as in a timezone with the CET abbreviation.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Better handling of undef in DM6
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The date/delta parsing routines in DM6 will now handle an undef argument
|
|
Packit |
95306a |
without issuing a warning. Earl C. Ruby III
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug with the parse_format %f and %i formats. Tommi Rintala
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where the Date::Manip::Delta::set function didn't work
|
|
Packit |
95306a |
to set the month value.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where parsing some dates near during a DST change failed.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Minor bug fix when using Delta_Format. Prompted while investigating
|
|
Packit |
95306a |
RT 41095.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.25 (2011-08-31)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Relaxed one constraint in ISO 8601 dates
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A time separated by whitespace from the date can use a single digit hour.
|
|
Packit |
95306a |
Yuming Philip Xiang
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Set official removal dates for old config variables>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Config variables will be removed 2 years after they are deprecated (except
|
|
Packit |
95306a |
for the TZ variable which, due to it's wide use, will be kept for 4 years).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2011i)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.24 (2011-06-13)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Spaces are ignored in the SetDate/ForceDate config values. Zsban Ambrus
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where 'in one week' wasn't correctly parsed. E. M. Shtern
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where options passed in to the 'new' as a listref weren't handled
|
|
Packit |
95306a |
properly. Zsban Ambrus
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2011g)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.23 (2011-04-15)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Renamed one Date::Manip::Recur method>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The Date::Manip::Recur::base method has been renamed to basedate . The
|
|
Packit |
95306a |
Date::Manip::Recur::base method should return the Date::Manip::Base object
|
|
Packit |
95306a |
like all the other Date::Manip modules.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Reworked holidays defined as recurrences>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improved dealing with the bootstrap problem of defining holidays, especially
|
|
Packit |
95306a |
those that contain business day flags. Mike Tonks
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The printf function will now take multiple format strings and return a list
|
|
Packit |
95306a |
of values. Zsban Ambrus
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where GlobalCnf wasn't working. Peter Edwards
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improved error messages in a few cases.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where one invalid date/timezone check was ignored. Morten Bjornsvik
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where '$base2 = new Date::Manip::Base $base1' wasn't working. RT 67143
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where passing dates in to the Recur->dates method failed. RT 67144
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where the mode wasn't being preserved correctly for a delta. RT 67150
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug in recurrences where a base date outside of a date range with a very
|
|
Packit |
95306a |
uncommon recurrence format would not work correctly.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a problem where the '%s' printf option didn't work in GMT.
|
|
Packit |
95306a |
Jean-Michel Hiver
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2011f)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed two bad recurrence examples in the documentation. Peter Edwards
|
|
Packit |
95306a |
and Mike Tonks
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.22 (2011-03-07)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2011b)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where the gmtoff method of getting the local timezone was broken.
|
|
Packit |
95306a |
Martin Zinser.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed the 'env' method of determining the local time zone to allow the
|
|
Packit |
95306a |
value to be an offset of seconds since UTC. This allows the VMS
|
|
Packit |
95306a |
SYS$TIMEZONE_DIFFERENTIAL variable to work correctly. Martin Zinser.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Removed the SYS$TIMEZONE_RULE method from VMS since the value stored there
|
|
Packit |
95306a |
is not the name of a timezone (it's a rule in a non-standard format). Based
|
|
Packit |
95306a |
on discussion with Martin Zinser.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improved the order in which aliases, abbreviations, etc., are tested
|
|
Packit |
95306a |
to test current usage before non-current usage (there were a few cases
|
|
Packit |
95306a |
where old usages were getting tested before current usage.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The module will now die if a language module cannot be loaded (most
|
|
Packit |
95306a |
likely due to a YAML::Syck issue). Based on discussion with Martin Zinser.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added a sample config file document. Based on discussion with Rich Duzenbury.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.21 (2011-01-10)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Deltas may now contain spelled out numbers, so 'in 2 weeks' and 'in two weeks'
|
|
Packit |
95306a |
will both work. Daniel Shahaf
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where week_of_year didn't work in some cases. Chris Eveland.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a minor potential bug. Geraint Edwards.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Updated windows time zone aliases. Daniel Harding
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added Norwegian. Glenn Sogn
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.20 (2010-12-01)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) (!) Reworked recurrences>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Recurrences were reworked in a (slightly) backward incompatible way to
|
|
Packit |
95306a |
improve their usefulness (and to make them conform to the expected
|
|
Packit |
95306a |
results). Most recurrences will work the same as previously, but a few will
|
|
Packit |
95306a |
differ. Most of this was suggested by Jay Jacobs.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A recurring event is now calculated relative to the base date, NOT relative
|
|
Packit |
95306a |
to a previous event. For example, if a recurrence occurs every month, and
|
|
Packit |
95306a |
the base date was Jan 31, then previously, recurring events would have
|
|
Packit |
95306a |
been (in a non-leap year):
|
|
Packit |
95306a |
|
|
Packit |
95306a |
D(0) = Jan 31
|
|
Packit |
95306a |
D(1) = D(0) + 1 month = Feb 28
|
|
Packit |
95306a |
D(2) = D(1) + 1 month = Mar 28
|
|
Packit |
95306a |
...
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The new behavior is:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
D(0) = Jan 31
|
|
Packit |
95306a |
D(1) = D(0) + 1*(1 month) = Feb 28
|
|
Packit |
95306a |
D(2) = D(0) + 2*(1 month) = Mar 31
|
|
Packit |
95306a |
...
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previously, if a base date were not specified, it was not determined
|
|
Packit |
95306a |
from the date range. Now, the start date of the date range acts as the
|
|
Packit |
95306a |
base date.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The meaning of the base date has changed slightly. It is much more
|
|
Packit |
95306a |
meaningful and useful now.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added iterator functions. Daniel LaLiberte
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The RecurNumFudgeDays variable is no longer used and is deprecated.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2010o)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.14 (2010-10-20)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Date::Manip 5.xx fully integrated with 6.xx>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip 5.xx and 6.xx are both installed automatically, and the
|
|
Packit |
95306a |
correct one will be chosen.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where recurrence handling was broken. RT 62128
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A lot of documentation was cleaned up to be easier to read, and better
|
|
Packit |
95306a |
organized.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.13 (2010-10-13)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the input methods to Date::Manip::Date and Date::Manip::Delta. Ed Avis.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The 'date +%z' command will also be used to determine the timezone. Oliver Schulze
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Several changes to try to get rid of a memory leaks reported in RT
|
|
Packit |
95306a |
54937. Huge thanks to BrowserUK on perlmonks for help. Unfortunately, it
|
|
Packit |
95306a |
ended up being a bug in perl, and will only be resolved when that bug is
|
|
Packit |
95306a |
fixed. See the Date::Manip::Problems document for more information.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Reorganized Base/TZ to get rid of circular references.
|
|
Packit |
95306a |
Added end blocks to clean some global variables.
|
|
Packit |
95306a |
Got rid of switch/given structures.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where an incomplete date with 'last' in it was causing an
|
|
Packit |
95306a |
error. RT 60138
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where 'Sunday, 9th Jan 1972' wasn't parsed correctly. RT 57832
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where Zones.pm was generated with the abbreviations in the wrong
|
|
Packit |
95306a |
order. Amish Chana.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
French month abbreviations now support periods. Bernard Haerri
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added tests from RT 29655 to make sure that the problem never recurs.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed documentation problem with the new_* methods in Date::Manip::Obj. Options
|
|
Packit |
95306a |
must be passed in as \@opts rather than @opts.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Cleaned up some of the documentation.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.12 (2010-09-27)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) IntCharSet config variable deprecated>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
With better support for international character sets, the old IntCharSet
|
|
Packit |
95306a |
config variable (which was a bandaid at best) is deprecated. Currently, the
|
|
Packit |
95306a |
functionality still exists, but it will be removed at some point.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added the Encoding config variable.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Now supports parsing the EXIF date format. Rhesa Rozendaal
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed Build.PL to not require perl 5.010 since the distribution as a whole
|
|
Packit |
95306a |
does not require that (and I want that fact to be in META.yml).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where the Date::Manip::Date::set method was broken when setting
|
|
Packit |
95306a |
individual fields. Helmut A. Bender
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where set didn't work in Date::Manip::Delta. Patch provided in
|
|
Packit |
95306a |
RT 59096.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2010m)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Converted all language files to UTF-8 and added rudimentary support for
|
|
Packit |
95306a |
character encodings. Some assistance by Stephen Ostermiller.>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed problem in Polish, Dutch. Stephen Ostermiller
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Extended support for 'nth' up to 53rd. Paco Regodon
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added some corrections to German. Dieter Lange
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Clarified Date::Manip::Recur documentation based on RT 59132.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.11 (2010-04-30)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a problem in Build.PL that had an incorrect module requirement.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.10 (2010-04-29)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Combined 5.xx and 6.xx releases into one distribution>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Because the automatic module management tools cpan/cpanp would try
|
|
Packit |
95306a |
to upgrade Date::Manip to the most recent version, and the most
|
|
Packit |
95306a |
recent version will only work if perl 5.10.0 or higher is installed,
|
|
Packit |
95306a |
both the 5.xx and 6.xx releases are now combined into a single
|
|
Packit |
95306a |
distribution.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This is described more fully in the Date::Manip::Problems document.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) Zones specified by offset>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In all operations involving time zones, the time zone must be determined.
|
|
Packit |
95306a |
By default, it would take all of the information available (date, ISDST,
|
|
Packit |
95306a |
etc.) and determine the most likely time zone. It would take every time zone
|
|
Packit |
95306a |
that matched each piece of information, starting with those that matched
|
|
Packit |
95306a |
in a standard time followed by those that matched in a daylight saving
|
|
Packit |
95306a |
time.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When zones are specified by an offset, a standard time would always match
|
|
Packit |
95306a |
since there are standard time zones that match all year long (the military
|
|
Packit |
95306a |
time zones A-Z and the standard time zones of the form Etc/GMT+01). As a
|
|
Packit |
95306a |
result, a daylight saving time match would never occur.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Since (if the date falls during a daylight saving time period) you usually
|
|
Packit |
95306a |
want to use a time zone that has that offset in daylight saving time,
|
|
Packit |
95306a |
the default is now to check daylight saving time zones first, followed
|
|
Packit |
95306a |
by standard times.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
See the Date::Manip::TZ manual (under the zone method) for more
|
|
Packit |
95306a |
information.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where Date_ConvTZ not working correctly with time zones
|
|
Packit |
95306a |
specified by offset. Chris Butler
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where business mode calculations involving minutes was not
|
|
Packit |
95306a |
handled correctly. Damien Moore
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where business mode calculations failed in some cases. RT
|
|
Packit |
95306a |
56638
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2010i)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Changed Date::Manip::TZ::zone so "dst" is sometimes the default
|
|
Packit |
95306a |
$dstflag. Based on the bug report by Chris Butler.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
OpenUNIX puts a colon at the start of some time zones. It's removed.
|
|
Packit |
95306a |
Jean Hassler
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Converted tests to Test::Inter
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Documentation fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a documentation bug in Date::Manip::TZ where "stdonly" was
|
|
Packit |
95306a |
listed as the default value for $dstflag, but in actuality, "std" is
|
|
Packit |
95306a |
the default.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.07 (2010-02-05)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed bug in Date_TimeZone where it wasn't returning the time zone.
|
|
Packit |
95306a |
Robert Eden
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.06 (2010-02-05)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Minor bug where %Z printf format didn't always work.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added support for 5pm back in (it was omitted accidentally). Mark Kennedy
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a minor warning. Morten Bjoernsvik
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Some additional speedups.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Newest zoneinfo data (tzdata 2010b)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added dm_zdump example script.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Improved TZ::periods functionality
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed bug in Date_ConvTZ where empty values weren't defaulting to local time zone.
|
|
Packit |
95306a |
Robert Eden
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a couple of problems in the generated time zones for some odd
|
|
Packit |
95306a |
cases (America/Resolute and Asia/Tehran).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.05 (2009-12-09)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(!) %z format>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In Date::Manip 5.xx, the %z format in UnixDate printed the offset in
|
|
Packit |
95306a |
the form -0500. In 6.00, I changed that to -05:00:00, but this broke
|
|
Packit |
95306a |
RFC 822 compliance.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
I've changed %z back to -0500, and introduced a new format (%N) which
|
|
Packit |
95306a |
returns -05:00:00.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Incidentally, this is the LAST unused letter, so I am now going to
|
|
Packit |
95306a |
have to either stop adding formats, or add some extended format
|
|
Packit |
95306a |
syntax. Not sure yet which, but this may involve a backwards
|
|
Packit |
95306a |
incompatible change in the future.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<(*) Significant speedups.>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Thanks to Moritz Lenz and BrowserUK on perlmonks for suggestions (and
|
|
Packit |
95306a |
a number of other people on perlmonks for suggestions that I did not
|
|
Packit |
95306a |
end up using, but which provided a great discussion).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug in parse_date where the current time was getting used
|
|
Packit |
95306a |
instead of the documented 00:00:00
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Bug fix where DateCalc didn't work with $mode in some cases.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed Makefile.PL/Build.PL to handle Win32::TieRegistry requirement.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Changed %z printf behavior back to 5.xx and added %N format. Gilles
|
|
Packit |
95306a |
Lamiral
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added dm_date example script.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Time zone fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed bug where non-English Windows versions didn't get the
|
|
Packit |
95306a |
time zone. Thanks to Rene Schickbauer for testing.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Reduced the precision of 1 test to avoid a rounding difference when
|
|
Packit |
95306a |
using a perl compiled with uselongdouble. Andreas Koenig
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.04 (2009-11-25)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where events were not interpreted in the correct time zone
|
|
Packit |
95306a |
if SetDate/ForceDate used.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.03 (2009-11-24)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Corrects a backward incompatibility with UnixDate. Rene Schickbauer
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A couple more corrections to the tests.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.02 (2009-11-24)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Disabled curr_zone_methods when taint checking on. I believe that Date::Manip
|
|
Packit |
95306a |
is completely taint friendly at this point.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Test fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A quick fix to make sure that the tests run correctly in other time zones.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.01 (2009-11-23)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Fixed a bug where dates were sometimes getting the wrong time zone when
|
|
Packit |
95306a |
SetDate/ForceDate in effect.>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 VERSION 6.00 (2009-11-23)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip 6.00 is a total rethink of the module, and a nearly complete
|
|
Packit |
95306a |
rewrite. Please refer to the Date::Manip::Changes5to6 document for a list
|
|
Packit |
95306a |
of incompatible changes.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Reorganization
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Massive reorganization and near total rewrite.>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Broke into several smaller modules>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item New Features
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Full time zone support (using tzdata 2009s)>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added some functionality (suggested by James Elson to improve setting
|
|
Packit |
95306a |
the "current time". Done with the ForceDate config variable.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
B<(*) Converted languages to YAML for much easier maintenance. Patch and
|
|
Packit |
95306a |
suggestion provided by Evan Carroll>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added much better formats for deltas. Suggested by Jim Hranicky.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Borrowed the _FindWindowsTZName function from the DateTime-TimeZone
|
|
Packit |
95306a |
module.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added SetDate config variable (based on a suggestion by Christian Campbell).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added parse_format which was first suggested by Kim Ryan.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Other changes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Several config variables deprecated
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Thanks to Jonathan Hogue for helping test Windows additions.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Bug fixes (correcting problems in the 5.xx releases)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed a bug where "YYtoYYYY=c" wouldn't work.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
VMS bugfix to not call `date` command. Lane
|
|
Packit |
95306a |
|
|
Packit |
95306a |
New Year's Day defined using a recurrence which might push the observed
|
|
Packit |
95306a |
day to the previous year was broken. Reported by Jerry Wilcox.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Language fixes
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Fixed typo in Turkish translation.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Spelling fix in Dutch. Bart Van Loon
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item Additional credits
|
|
Packit |
95306a |
|
|
Packit |
95306a |
I have received many suggestions over time which were automatically
|
|
Packit |
95306a |
handled during the 6.00 rewrite. Although the changes weren't made
|
|
Packit |
95306a |
because of the suggestions specifically, I wanted to acknowledge
|
|
Packit |
95306a |
them since I appreciate the suggestions.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
I believe the first person to suggest writing Date::Manip as an OO
|
|
Packit |
95306a |
module was Eduard Derksen.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Delta_Format initialization done outside of the function. Eric Boehm
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added $subtract to calculation routines. First suggested by Steve Berlage.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Added ability to set individual parts of the date (Date::Manip::Date::set).
|
|
Packit |
95306a |
First suggested by Martin Thurn.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
UnixDate (i.e. Date::Manip::Date::printf) only calculates formats when
|
|
Packit |
95306a |
they are needed. Eduard Derksen
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Parsing will skip some date/time formats if requested. This was first
|
|
Packit |
95306a |
suggested by Eduard Derksen.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
It has been suggested several times to support multiple languages,
|
|
Packit |
95306a |
multiple config files, or multiple sets of Date_Init
|
|
Packit |
95306a |
options. These suggestions (by Meng Fang, Ed Avis, Christian
|
|
Packit |
95306a |
Campbell, and perhaps others) were at the back of my mind as I
|
|
Packit |
95306a |
developed the Date::Manip::Base class.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The regular expressions are all i18n friendly in anticipation of much
|
|
Packit |
95306a |
better support for localization. First suggested by Alex Kapranoff.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Parsing a date ('today', 'Monday') gives a time of '00:00:00'. Suggested
|
|
Packit |
95306a |
by Mark Aitchison.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Working with fractional days was suggested by Peter van Hardenberg.
|
|
Packit |
95306a |
This is implemented in Date::Manip::Base::day_of_year method.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 BUGS AND QUESTIONS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Please refer to the L<Date::Manip::Problems> documentation for
|
|
Packit |
95306a |
information on submitting bug reports or questions to the author.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SEE ALSO
|
|
Packit |
95306a |
|
|
Packit |
95306a |
L<Date::Manip> - main module documentation
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 LICENSE
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This script is free software; you can redistribute it and/or
|
|
Packit |
95306a |
modify it under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 AUTHOR
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sullivan Beck (sbeck@cpan.org)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=cut
|