./time/p5-DateTime-Format-Strptime, Perl 5 module to parse and format strp and strf time patterns

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


Branch: CURRENT, Version: 1.6800, Package name: p5-DateTime-Format-Strptime-1.6800, Maintainer: abs

This module implements most of strptime(3), the POSIX function that
is the reverse of strftime(3), for DateTime. While strftime takes
a DateTime and a pattern and returns a string, strptime takes a
string and a pattern and returns the DateTime object associated.


Required to run:
[lang/perl5] [time/p5-DateTime] [time/p5-DateTime-Locale] [time/p5-DateTime-TimeZone] [devel/p5-Params-Validate] [devel/p5-Package-DeprecationManager]

Required to build:
[devel/p5-Sub-Name] [devel/p5-Package-Stash] [devel/p5-Test-Warnings]

Master sites: (Expand)

SHA1: 970226965c2d07d3eaed5f6c316ab824624a22c1
RMD160: 7962e4335c2f8ab0ef78d4401a9bf21650eb095a
Filesize: 100.708 KB

Version history: (Expand)


CVS history: (Expand)


   2016-07-26 02:29:57 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.68

Upstream changes:
1.68     2016-05-08

- Author tests are no longer in t/. This makes running tests for non-authors
  much faster. Requested by Kent Fredric. RT #114237.
   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-07 23:10:32 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
Add BUILD_DEPENDS+= p5-Sub-Name-[0-9]* for make test
   2016-05-07 07:21:05 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.6700

Upstream changes:
1.67     2016-03-31

- Fixed a regression introduced in 1.60. Older versions of this library would
  match dates pretty match anywhere in a string, so "%Y-%m-%d" would \ 
match a
  string like "abcd1234-12-30efgh". This is probably _too_ permissive, \ 
but we
  definitely want to match on word boundaries so that we match
  "log.2016-03-31". Based on a PR from YASUTAKE Kiyoshi. GitHub #3.

1.66     2016-03-27

- Added a zone_map constructor argument. This lets you supply a mapping for
  ambiguous time zone abbreviations. Based on a patch from Douglas Wilson. RT
  #74762.

1.65     2016-03-15

- Updated zone short name parsing to handle names like "+07", which were
  introduced in the latest IANA time zone database release.
   2016-02-27 08:54:34 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.64

Upstream changes:
1.64     2016-02-21

- Changed how a string that contains separate epoch and nanosecond fields is
  turned into a DateTime object in order to deal with changes coming in the
  next DateTime release.

1.63     2016-01-13

[BUG FIXES]

- The behaviour of silently ignoring text after the matching part was
  lost in the rewrite. This has been restored. Patch by Dagfinn Ilmari
  MannsÁĖáker. RT #111155.

1.62     2015-12-19

[BUG FIXES]

- When on_error was set to something that did not die (including the default
  error handling), calling ->parse_datetime with some bad inputs could cause
  the module to error out internally by trying to call methods on an undefined
  value instead of returning undef. Reported by Mike Dorman. RT #110247.
   2016-01-30 11:01:02 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
Add two lines for make test
  BUILD_DEPENDS+=  p5-Package-Stash-[0-9]*:../../devel/p5-Package-Stash
  BUILD_DEPENDS+=  p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
   2015-11-15 06:11:52 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.61
Update DEPENDS

Upstream changes:
1.61     2015-11-13

[BUG FIXES]

- If you loaded this module with warnings globally enabled ("perl -w", \ 
which
  you should never do), then you'd get a warning about the import subroutine
  being redefined. This broke the Package::DeprecationManager API for turning
  off deprecation warnings. This has been fixed in
  Package::DeprecationManager 0.15. Reported by Martin. RT #108871.

1.60     2015-11-07

- This release is identical to the prior trial release. The changes for the
  trial releases are reproduced below for convenience.

[BACKWARDS INCOMPATIBILITIES]

- The error messages for various types of failures have changed.

- The never-documented diagnostic parameter for the constructor has been
  removed.

- The never-documented feature to allow you to use arbitrary DateTime.pm
  methods in the parsing pattern has been removed. This never made much sense
  anyway, since most DateTime.pm methods are not constructor params, but they
  were used that way.

- Using the pattern, locale, and time_zone to set the respective attribute is
  now deprecated. Make a new object instead of changing one of these values.

[BUG FIXES]

- Fixed a warning from the tests with newer Perl versions. RT #107620.

- Clarified docs to note that %Y and %G require 4-digit years. Reported by
  Karen Etheridge. RT #103147.

- Using the 24-hour token (%H) with an AM/PM specifier (%p) now leads to an
  error if you try to parse something like "23:01 AM". Reported by Ric
  Signes. RT #92445.

1.59     2015-10-25 (TRIAL RELEASE)

- The previous release accidentally included an old version of Strptime.pm in
  the root dir, causing all sorts of chaos and test failures.

1.58     2015-10-18 (TRIAL RELEASE)

- This release is a substantial rewrite. Please test it and file bugs for any
  unintentional breakage.

* The error messages for various types of failures have changed.

* The never-documented diagnostic parameter for the constructor has been
  removed.

* The never-documented feature to allow you to use arbitrary DateTime.pm
  methods in the parsing pattern has been removed. This never made much sense
  anyway, since most DateTime.pm methods are not constructor params, but they
  were used that way.

* Using the pattern, locale, and time_zone to set the respective attribute is
  now deprecated. Make a new object instead of changing one of these values.

- Fixed a warning from the tests with newer Perl versions. RT #107620.

- Clarified docs to note that %Y and %G require 4-digit years. Reported by
  Karen Etheridge. RT #103147.

1.57     2015-10-04

- Make all tests pass with both the current DateTime::Locale and the upcoming
  new version (currently still in trial releases).
   2015-11-03 00:31:47 by Alistair G. Crooks | Files touched by this commit (161)
Log message:
Add SHA512 digests for distfiles for time category

Problems found with mismatching existing digests for:
	distfiles/asclock-classic-1.0.tar.gz
	distfiles/asclock-gtk-2.1.10beta.tar.gz
	distfiles/asclock-xlib-2.0.11.tar.gz
	distfiles/emiclock-2.0.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.