./devel/p5-Date-Manip, Perl5 module for date calculations

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.58, Package name: p5-Date-Manip-6.58, Maintainer: pkgsrc-users

This is a set of routines designed to make any common date/time
manipulation easy to do. Operations such as comparing two times,
calculating a time a given amount of time from another, or parsing
international times are all easily done.

Date::Manip deals only with the Gregorian calendar (the one currently in
use). The Julian calendar defined leap years as every 4th year. The
Gregorian calendar improved this by making every 100th year NOT a leap
year, unless it was also the 400th year. The Gregorian calendar has been
extrapolated back to the year 1000 AD and forward to the year 9999 AD.
Note that in historical context, the Julian calendar was in use until 1582
when the Gregorian calendar was adopted by the Catholic church. Protestant
countries did not accept it until later; Germany and Netherlands in 1698,
British Empire in 1752, Russia in 1918. Note that the Gregorian calendar
is itself imperfect. Each year is on average 26 seconds too long, which
means that every 3,323 years, a day should be removed from the calendar.
No attempt is made to correct for that.


Required to run:
[textproc/p5-YAML-Syck] [lang/perl5] [devel/p5-Test-Pod-Coverage] [devel/p5-Test-Pod]

Required to build:
[devel/p5-Test-Inter] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 93cb35146e56ce2a09dad9f5ecd8d63743e4ace3
RMD160: 4bf01edfa21907bc8c4aa086358c2cd3a6123f6c
Filesize: 1777.82 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-05 13:44:39 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Date-Manip to 6.58.

VERSION 6.58 2017-03-01 ^

Better support for $mode in DateCalc.

    DateCalc (in DM6) did not support all values for $mode. Now it does.

Bug fixes

    Parsing a date like 01/02/2016 and calling printf with %e gave '02' instead \ 
of ' 2'. RT 119787.

    Fixed a problem where the tzdata method of determining the timezone was \ 
producing an error which wasn't correct. Reported on GitHub by John.

Time zone fixes

    Newest zoneinfo data (tzdata 2017a)
   2016-12-11 04:16:59 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 6.37

No upstream changelog found.
   2016-09-12 12:15:15 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Date-Manip to 6.56.

VERSION 6.56  2016-09-09

Test fixes

A faulty test was failing most places.  New release to correct that problem.
RT 117404
   2016-09-04 10:48:01 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-Date-Manip to 6.55.

6.55

       Fixed bug where $::TZ wasn't used
           The $::TZ variable was not getting interpreted correctly when
           searching for a timezone.  RT 114949.

       Fixed bug where recurrences were not parsed correctly
           Passing in incorrect values for a field was not trapped in all
           cases and it led to problems.  All values passed in to a recurrence
           are now correctly checked.  Albert Hilazo

       Fixed a bug in some methods of creating new objects
           Some methods of creating new objects based on existing objects did
           not correctly use the existing object.  Bug has never been
           reported, but was discovered when adding tests to get 100%
           coverage.

       Time zone fixes
           Newest zoneinfo data (tzdata 2016f)

       Test fixes
           Added a number of new tests based on Devel::Cover.
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-06-05 13:46:09 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/p5-Date-Manip to 6.54
  -------------------------------------
  (From: perldoc Date::Manip::Changes6)
  -------------------------------------
VERSION 6.54  2016-05-31
    Deprecation of Date::Manip 5.xx tests
        By default, the Date::Manip 5.xx tests will no longer run. Changes to
        the timezone data can cause failures. Since Date::Manip 5.xx is no
        longer supported in any way, these tests will no longer run on a
        system where 6.xx can be run. Richard Jelinek.

    Deprecation of TZ postponed
        The deprecation of the TZ variable has been postponed to March 2017. I
        decided that 1 year was not enough notice (especially since not
        everyone will have updated Date::Manip since March 2015 when the
        warning was added.

    Bug fixes
        Changed requirement for ExtUtils::MakeMaker to 6.67_01. RT 112286

        Fixed a bug where a timezone abbreviation was not parsed correctly
        when passed in as a value to the SetDate, ForceDate, or TZ config
        variables. Based on a report in perlmonks.org.

    Time zone fixes
        Newest zoneinfo data (tzdata 2016d)

        Made some improvements to how I handled the timezone data which
        resulted in a few of the default timezones being changed.

    Documentation fixes
        Fixed one more typo. RT 114095

        Clarified the Config document. Based on a report in perlmonks.org.
   2016-03-08 16:10:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update p5-Date-Manip to 6.53:

Bug fixes

Date::Manip::Delta::cmp had a bug in it's comparison.  Ian Gibbs.

The secs_since_1970_GMT method was missing a test to see if it was
a valid object.  RT 111915

Time zone fixes

Newest zoneinfo data (tzdata 2016a)

Documentation fixes

Lots of typos fixed.  I was using podspell to do spell checking, but it was
discarding too much real text (which wasn't getting checked as a result).
Switched to pod2text which does a better job.  RT 110025
   2015-12-02 07:53:40 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update p5-Date-Manip to 6.52:

VERSION 6.52  (planned 2015-12-01)

Added date ranges on unmodified dates in Recur

The date range can now be specified for either the fully modified dates, or
the unmodified dates.  This will make it easier to work with holidays in some
instances.  Based on http://perlmonks.org/?node_id=1148735.

Added IWn and NWn recurrence modifiers

Based on http://perlmonks.org/?node_id=1148735.

(!) Reworked holidays slightly

Previously, every line in the Holidays section defined a unique holiday.
Now, the names determine the list of holidays.

It is not allowed to have two separate holidays named exactly the same.
It IS allowed to have complex holidays that require two (or more) lines
in the Holidays section to define them completely.

Based on http://perlmonks.org/?node_id=1148735.

Bug fixes

Fixed a bug where the RecurRange config variable wasn't getting used.

Fixed a bug where some deltas were not parsed correctly as dates.
RT 109600

Time zone fixes

Newest zoneinfo data (tzdata 2015g)

Test fixes

Added a number of new tests based on Devel::Cover.