=head1 VERSION 6.51 2015-09-01
Changes suggested by perlcritic
Played with perlcritic and made a few minor changes based on it's suggestions.
I doubt I will use perlcritic significantly.
Date::Manip::Delta::value now returns an empty string
If a delta has an error, or no valid delta in it, the value method returns
an empty string instead of undef. This is to be consistent with the
Date::Manip::Date::value method which returns an empty string.
Bug fixes
Fixed a bug where date/delta calculations with deltas that are too
large was not working correctly. They now set an error condition
and fail. RT 105737
Fixed a bug introduced by the previous patch and luckily discovered
pre-release by Tom Wyant.
Fixed code that produced a warning in 5.22.0. Tom Wyant
Improved DM6 ParseDate and ParseDateString
Added C<@opts> argument. Based on RT 105622.
Time zone fixes
Newest zoneinfo data (tzdata 2015f)
Now uses /etc/localtime as a method to determine the local timezone.
Patch supplied in RT 105159 (modified by me). The patch uses some
code derived from DateTime::TimeZone .
Clearer message when the date is not valid in the timezone.
Test fixes
Added a number of new tests based on Devel::Cover. Over the next several
releases, I intend to continue to add tests until coverage is 100%.
Documentation fixes
Fixed a typo. RT 105546
VERSION 6.50 2015-06-01
Bug fixes
Not really a bug, but 6.49 got a bunch of NYTprof data bundled with it
by mistake. It's been removed. RT 103252
Fixed a bug where information about whether a date was complete or
truncated was discarded. Jim Avera
Fixed a bug where SetDate with a zone alias failed.
Added the Format_MMMYYYY config variable to allow the truncated format
mmmYYYY to be parsed instead of mmmDDYY. David W. Morganwalp and RT 103142
Fixed Makefile.PL/Build.PL to correct for a change on perl on windows
which changes a module prereq requirement. Alexandr Ciornii
Time zone fixes
Newest zoneinfo data (tzdata 2015d)
Added aliases for older HP-UX time zones. RT 104141
Documentation fixes
Fixed URL for tzdata. Mohammad S Anwar
Better POD formats.
Fixed a documentation error. RT 103966
Added a deprecation warning
The TZ config variable is going away. Added a deprecation
warning.
Some speedups for timezone handling
Based on RT 102284, I have done some optimization of the timezone
handling code.
Bug fixes
Added the missing is_date base method to Date::Manip::Base.
Mario Domgoergen.
Time zone fixes
Newest zoneinfo data (tzdata 2015a)
Language fixes
A number of corrections by Nicholas Riley
VERSION 6.48 2014-12-01
Put repository on GitHub
Suggested by Gabor Szabo
parse_time now parses ISO 8601 times
The parse_time routine wouldn't correctly parse ISO 8601 times. This
is now fixed.
Parsing special dates with timezones now works
Parsing special date formats with timezones is now supported such as:
Christmas at noon PST
in 3 days at noon PST
now PST
epoch 3000000 PST
dm_zdump modified
To match the newest version of zdump, the gmtoff is now added at the end
of each line.
Bug fixes
Fixed a bug in the printf method that would not handle embedded newlines
correctly (and resulted in an infinite loop if it were preceded by a '%').
Henrique Martins
Fixed a bug where '24:00' was not parsed correctly (though '24:00:00' was).
Fixed a bug where fractional values separated by a comma weren't parsed
correctly.
Time zone fixes
Newest zoneinfo data (tzdata 2014j)
VERSION 6.47 2014-09-01)
Time zone fixes
Newest zoneinfo data (tzdata 2014f)
Language fixes
Fixed some encoding errors in the language pod documentation.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
Several changes to distribution files
I made several changes to Build.PL, Makefile.PL, META.yml in order
to improve the quality (or kwalitee) of the module. None of these
should impact anyone using the module.
Time zone fixes
Newest zoneinfo data (tzdata 2013i)
Newest zoneinfo data (tzdata 2013h)
Documentation fixes
Cleaned up some of the Recur documentation. Suggested by RT 92794
Added ParseDateFormat function
Added the ParseDateFormat function to the DM6 functional interface
in response to RT 89286.
Added Common Log format
Added the date format used in apache logs: 11/Oct/2000:13:55:36
-0700 RT 89286.
Bug fixes
Fixed a bug where dates of the form of a delta with a timezone
attached (i.e. "1 day ago at midnight UTC") failed. RT 89256
Fixed a bug where events handling gave a warning if there were no
events that applied. RT 90344
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
VERSION 6.34 (2012-09-04) ^
This is a bug fix so that the PATH won't break non-unix installs.
Bug fixes
Put the PATH inside the Unix section so it doesn't affect non-unix envvironments. Geoff Rowell
VERSION 6.33 (2012-09-01) ^
Improvements to Date::Manip::Delta
Added convert method. This had been planned since 6.30, but based on a discussion with Henrique Martins, I moved it up in priority.
Cleaned up handling of delta field lengths (they are now only calculated once.
Added cmp method. Henrique Martins
Bug fixes
The language modules read from the DATA section, but I never closed the filehandle. This is fixed now. Patch by Doru Theodor Petrescu
Added better loading of DM5/DM6 modules. RT 78512
Added a secure PATH to TZ.pm for taint reasons. In response to RT 78566
Time zone fixes
Now supports timezones in files with spaces where there should be underscores. This occurs in RHEL desktop. RT 78566
Newest zoneinfo data (tzdata 2012e)
Documentation fixes
Minor fix. Henrique Martins
VERSION 6.32 (2012-06-01) ^
Modified Build.PL
Build.PL now has better support for building (or not building) HTML files. Apparently this is slow on Windows. Patch provide in RT 75118.
Bug fixes
Fixed a bug in business day calculations. RT 76336
Fixed a bug where Delta/Recur objects weren't correctly created. Zsban Ambrus
Fixed a bug where SetDate/ForceDate config variables could not be included in a file. Jerry Wilcox
Time zone fixes
Newest zoneinfo data (tzdata 2012c).
Documentation fixes
Better support for UTF-8 in autogenerated language module pod files.
VERSION 6.31 (2012-03-01)
Added extended formats to printf method.
Can now parse formats where the time and zone are not adjacent
Added PeriodTimeSep config variable.
Holidays can be used as date strings
Added new recur modifiers
Added a new date format
More flexibility in parsing timezones with both offset and abbrev
Deltas now support fractional values.
Multiple holidays supported
Bug fixes
Language fixes
Documentation fixes
VERSION 6.30 (2012-01-11)
Much of the delta code was reworked.
Modified 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
Newest zoneinfo data (tzdata 2011n).
Better handling of undef in DM6
Bug fixes
Changes from previous:
VERSION 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)
* Spaces are ignored in the SetDate/ForceDate config values.
* Fixed a bug where 'in one week' wasn't correctly parsed.
* Fixed a bug where options passed in to the 'new' as a listref weren't handled
properly.
* Newest zoneinfo data (tzdata 2011g)
VERSION 6.14 (2010-10-20)
Date::Manip 5.xx fully integrated with 6.xx
Date::Manip 5.xx and 6.xx are both installed automatically, and the
correct one will be chosen.
Fixed a bug where recurrence handling was broken. RT 62128
A lot of documentation was cleaned up to be easier to read, and better
organized.
VERSION 6.13 (2010-10-13)
New features
Added the input methods to Date::Manip::Date and Date::Manip::Delta. Ed Avis.
The 'date +%z' command will also be used to determine the timezone. Oliver Schulze
Bug fixes
Several changes to try to get rid of a memory leaks reported in RT
54937. Huge thanks to BrowserUK on perlmonks for help. Unfortunately, it
ended up being a bug in perl, and will only be resolved when that bug is
fixed. See the Date::Manip::Problems document for more information.
Reorganized Base/TZ to get rid of circular references.
Added end blocks to clean some global variables.
Got rid of switch/given structures.
Fixed a bug where an incomplete date with 'last' in it was causing an
error. RT 60138
Fixed a bug where 'Sunday, 9th Jan 1972' wasn't parsed correctly. RT 57832
Fixed a bug where Zones.pm was generated with the abbreviations in the wrong
order. Amish Chana.
French month abbreviations now support periods. Bernard Haerri
Added tests from RT 29655 to make sure that the problem never recurs.
Fixed documentation problem with the new_* methods in Date::Manip::Obj. Options
must be passed in as \@opts rather than @opts.
Cleaned up some of the documentation.
VERSION 6.12 (2010-09-27)
IntCharSet config variable deprecated
With better support for international character sets, the old IntCharSet
config variable (which was a bandaid at best) is deprecated. Currently, the
functionality still exists, but it will be removed at some point.
New features
Added the Encoding config variable.
Now supports parsing the EXIF date format. Rhesa Rozendaal
Bug fixes
Fixed Build.PL to not require perl 5.010 since the distribution as a whole
does not require that (and I want that fact to be in META.yml).
Fixed a bug where the Date::Manip::Date::set method was broken when setting
individual fields. Helmut A. Bender
Fixed a bug where set didn't work in Date::Manip::Delta. Patch provided in
RT 59096.
Newest zoneinfo data (tzdata 2010m)
Converted all language files to UTF-8 and added rudimentary support for
character encodings. Some assistance by Stephen Ostermiller.
Fixed problem in Polish, Dutch. Stephen Ostermiller
Extended support for 'nth' up to 53rd. Paco Regodon
Added some corrections to German. Dieter Lange
Clarified Date::Manip::Recur documentation based on RT 59132.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Version 6.10 2010-04-29
Fixed a bug where Date_ConvTZ not working correctly with timezones specified
by offset. Chris Butler
Fixed a documentation bug in Date::Manip::TZ where "stdonly" was listed as the
default value for $dstflag, but in actuality, "std" is the default.
Changed Date::Manip::TZ::zone so "dst" is sometimes the default $dstflag.
Based on the bug report by Chris Butler.
OpenUNIX puts a colon at the start of some timezones. It's removed. Jean Hassler
Fixed a bug where business mode calculations involving minutes was not handled
correctly. Damien Moore
*** Combined 5.xx and 6.xx releases into one distribution so cpan/cpanp will
work correctly.
Newest zoneinfo data (tzdata 2010i)
Fixed a bug where business mode calculations failed in some cases. RT 56638
Converted tests to Test::Inter
Version 6.11 2010-04-30
Fixed a problem in Build.PL that had an incorrect module requirement.
Version 6.06 2010-02-05
Added dm_zdump example script.
Minor bug where %Z printf format didn't always work.
Improved TZ::periods functionality
Fixed bug in Date_ConvTZ where empty values weren't defaulting to local timezone.
Robert Eden
Fixed a couple of problems in the generated timezones for some odd cases
(America/Resolute and Asia/Tehran).
Added support for 5pm back in (it was omitted accidentally). Mark Kennedy
Fixed a minor warning. Morten Bjoernsvik
Some additional speedups.
Newest zoneinfo data.
Version 6.07 2010-02-05
Fixed bug in Date_TimeZone where it wasn't returning the timezone. Robert Eden
Version 5.55 DEVELOPMENT
Typo fix. ddascalescu
Version 6.00 2009-11-23
Date::Manip 6.00 is a total rethink of the module, and a nearly complete
rewrite. Please refer to the Date::Manip::Changes5to6 document for a list
of incompatible changes.
*** Massive reorganization and near total rewrite.
*** Broke into several smaller modules
*** Full timezone support
Several config variables deprecated
Added some functionality (suggested by James Elson to improve setting
the "current time". Done with the ForceDate config variable.
*** Converted languages to YAML for much easier maintenance. Patch and
suggestion provided by Evan Carroll
Added much better formats for deltas. Suggested by Jim Hranicky.
Borrowed the _FindWindowsTZName function from the DateTime-TimeZone
module.
Added SetDate config variable (based on a suggestion by Christian Campbell).
Added parse_format which was first suggested by Kim Ryan.
Thanks to Jonathan Hogue for helping test Windows additions.
It also contains a few bug fixes correcting problems in the 5.xx releases:
Fixed a bug where "YYtoYYYY=c" wouldn't work.
VMS bugfix to not call `date` command. Lane
Fixed typo in turkish translation.
Spelling fix in dutch. Bart Van Loon
New Year's Day defined using a recurrence which might push the observed
day to the previous year was broken. Reported by Alan Burlison
I have received many suggestions over time which were automatically
handled during the 6.00 rewrite. Although the changes weren't made
because of the suggestions specifically, I wanted to acknowledge
them since I appreciate the suggestions.
Delta_Format initialization done outside of the function. Eric Boehm
Added $subtract to calculation routines. First suggested by Steve Berlage.
Version 6.01 2009-11-23
*** Fixed a bug where dates were sometimes getting the wrong timezone when
SetDate/ForceDate in effect.
Version 6.02 2009-11-24
A quick fix to make sure that the tests run correctly in other timezones.
Disabled curr_zone_methods when taint checking on. I believe that Date::Manip
is completely taint friendly at this point.
Version 6.03 2009-11-24
Corrects a backward incompatibility with UnixDate. Rene Schickbauer
A couple more corrections to the tests.
Version 6.04 2009-11-25
Fixed a bug where events were not interpreted in the correct timezone if
SetDate/ForceDate used.
Version 6.05
Significant speedups. Thanks to Moritz Lenz and BrowserUK on perlmonks for
suggestions (and a number of other people on perlmonks for suggestions
that I did not end up using, but which provided a great discussion).
Reduced the precision of 1 test to avoid a rounding difference when using
a perl compiled with uselongdouble. Andreas Koenig
Fixed a bug in parse_date where the current time was getting used instead
of the documented 00:00:00
Bug fix where DateCalc didn't work with $mode in some cases.
Fixed Makefile.PL/Build.PL to hanle Win32::TieRegistry requirement.
Changed %z printf behavior back to 5.xx and added %N format. Gilles Lamiral
Fixed bug where non-English Windows versions didn't get the timezone. Thanks
to Rene Schickbauer for testing.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Version 5.49 DEVELOPMENT
Corrected typo in %G and %L format descriptions. Troy A. Bollinger
<troy@austin.ibm.com>
Added "ereyesterday". Ed Avis <eda@waniasset.com>
Added timezones. Damyan Ivanov <dam@modsoftsys.com>
Added timezone. Ernesto Hernandez-Novich <emhnemhn@gmail.com>
Added timezone. Gregor Herrmann <gregor+debian@comodo.priv.at>
Added timezone. Nicholas Riley <njriley@uiuc.edu>
Added timezone. Enrique Verdes <everdes@uygroup.com.uy>
Added timezone. Alexander Litvinov <lan@academsoft.ru>
Added Build.PL and several other things to meet requirements on
http://cpants.perl.org/
Version 5.50 2008-05-05
Released
Version 5.51 DEVELOPMENT
Additional changes to meet requirements on http://cpants.perl.org/
Fixed bug where the wrong version was in Build.PL
Version 5.52 2008-05-08
Released
Version 5.53 DEVELOPMENT
Final changes to meet requirements on http://cpants.perl.org/
Bug fix so it won't fail with "Too early to specify a build action"
Version 5.54 2008-05-09
Released
Pkgsrc changes:
- DISTNAME adapted to new name of archive file.
- The package supports installation to DESTDIR.
Changes since version 5.44:
=====================================
Version 5.45 DEVELOPMENT
Fixed bug in parsing ISO 8601 dates. Paul Schinder
<schinder@leprss.gsfc.nasa.gov>
Language fix for Danish. <claus.just.rasmussen@get2net.dk>
Added "overmorrow". Ed Avis <avised@kbcfp.com>
Language fix for German. Andreas Dembach <ad@dg-i.net>
Fixed a bug in UnixDate for years before 1000 AD. Joaquin Ferrero
<explorer@aprosi.net>
Fixed a bug where "today" wasn't case insensitive. Pedro Rodrigues
<pedro.ruano@gmail.com>
New timezones. Khairil Yusof <khairil.yusof@gmail.com>,
Andy Spiegel <debian.Andy@spiegl.de>, Ernesto Rapetti
<erapetti@item.org.uy>
Fixed a bug where business/approximate mode wasn't correctly used in
DateCalc. Mark T. Kennedy <mkennedy@diamondbackcap.com>
Minor documentation improvement. Caminati Carlo <C.Caminati@selta.it>
Bug in DateCalc where you couldn't pass undef as the errref. Alex Howansky
<alex@howansky.org>
Bug where cygwin wasn't using the date command. Rafael Kitover
<rkitover@cpan.org>
New timezones. Robin Norwood <rnorwood@redhat.com>
Fixed russian timezones. Yuri Kovalenko <Yu.V.Kovalenko@inp.nsk.su>
Lots of spelling fixes. Asaf Bartov <ijon@forum2.org>
Version 5.46 2007-02-21
Released
Version 5.47 DEVELOPMENT
Revised some of the docs about Y2K (given that it's in the past) and
the 2007 US daylight saving time rule changes. Suggested by
Fixed a problem in the WEST timezone. Cristina Nunes
<cristina.nunes@segula.pt>
Added timzezone. Kimmo R. M. Hovi <kimmo.hovi@kronodoc.com>
Fixed the version number. John R. Daily <jdaily@apparatus.net>
Fixed a warning when the date command not present. Daniel Hahler
<daniel@thequod.de>
Fixed a bug where recurrences of the form 0:1*, 0:0:1*, etc.,
incorrectly required a base date. Gerry Lawrence <gwl@ufl.edu>
Fixed a bug where "substring" was used instead of "substr".
<lbenton@csu.edu.au>
Version 5.48 2007-11-27
Released
Pkgsrc changes:
- The module needs no compiler.
Changes since version 5.42a:
============================
Changed default behavior of Delta_Format back.
***Revamped the recurrences. Y-0-WOY-DOW now refers to the WOY'th
occurence of DOW instead of the ISO 8601 date Y-W(WOY)-DOY. Also,
changed Y-0-WOY-0 to refer to the WOY'th occurence of FirstDay,
and got rid of the MW and MD flags. Many other similar changes.
Changed behavior of %x format in UnixDate.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Version 5.41 2003-06-30
Added runtests.bat contributed by Lon Amick <lon.g.amick@mail.sprint.com>
Added JAVT timezone. David Coppit <david@coppit.org>
Fixed bug where -HH:MM and +HH:MM were not being accepted as valid
timezones. Hank Barta <hbarta@htc.com>
Small patch for OpenVMS. Martin P.J. Zinser <zinser@decus.de>
Minor doc fix. Jeremy Tietsort <jrtietsort@micron.com>
Added BRST timezone. Daniel Serodio <dserodio@email.com>
Added Russian translation. Dapi <dapi@mail.ru>
Made the UnixDate %Z format work with numeric timezones. Michael Isard
<michael.isard@compaq.com>
Minor bug fix where /etc/timezone not correctly read. Jacek Nowacki
<jacekn@polcard.com.pl>
Added ART timezone. Fabian Mandelbaum <fabman@mandrakesoft.com>
Minor enhancement to ParseRecur. Randy Harmon <rjh@fortheweb.com
Fixed spelling of Veteran's day. Dirk Eddelbuettel <edd@debian.org>
Documentation improvements. James Olsen <jolsen@multiad.com>
Added Brazilian timezones. Raul Dias <raul@dias.com.br>
Fixed WEST timezone. Pedro Melo CUNHA <melo@isp.novis.pt>
Added NOVST timezone. Roman Y Malakhov <roman@intis.tomsk.ru>
Additions to Dutch translation. Willem <itsme@xs4all.nl>
Fixed a bug where timezones -HH:MM weren't handled in ISO 8601 dates.
Ed Avis <ed@membled.com>
Fixed a bug involving business deltas with negative hours. Ludovic
Dubost <ludovic@pobox.com>
Modified Delta_Format to treat the entire delta as exact if no month
component is present. Due to discussion with Tim Turner
<torrid@mindspring.com>
Added EAT timezone. David Whiting <dave@pluto.ammp>
Added BOT timezone. Khaled Mostaguir <Khaled.Mostaguir@isb-sib.ch>
Added several Australian timezones. Jason King
<Jason.King1@team.telstra.com>
Added some support for NetWare. Chris Shields <cshields@waubonsee.edu>
Added some help for VMS timezones. Don Slutz <DSlutz@arrayinc.com>
Applied some robustness patches. Ed Avis <ed@membled.com>
Fixed a bug with years <1000. Jonathan Callahan
<Jonathan.S.Callahan@noaa.gov>
Patch to make Manip.pm -Mstrict clean and better VMS support.
Peter Prymmer <PPrymmer@factset.com>
Patch to French support. Patrick Turmel <patrick@espacecourbe.com>
Added Tues/Thur abbreviations. <mthurn@cise.ufl.edu>
Fixed a bug in "1st saturday of 2005" format. Maurice Aubrey
<maurice@redweek.com>
Taint check insecure $ENV{PATH} fix. Ed Avis <ed@membled.com>
Patch to allow deltas of the form "+ -1 day" to work. Ed Avis
<ed@membled.com>
Added Turkish. <giray@pultar.org>
Added Danish. Jesper Dalberg <dalberg@cybercity.dk>
Added some checking to the timezone determination. Ed Avis
<ed@membled.com>
***Replaced all non-ASCII characters with hex representations to avoid
the malformed UTF-8 character warnings. Ed Avis <ed@membled.com>
Removed ampersands from function calls in documentation to fit new
perl coding standards. Bill Pollock <billp@statenet.com>
Fixed a bug where spaces in a date caused problems in German (due
to the number 1st, 2nd, etc. being 1., 2., etc.). Erik Roderwald
<erik@roderwald.de>
Version 5.42 2003-07-02
Number changed to distinguish between the development release (5.41)
and official release since.
Version 5.42a 2003-07-03
A quick fix to replace a faulty test.