./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.6400, Package name: p5-DateTime-Format-Strptime-1.6400, 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-Package-Stash] [devel/p5-Test-Warnings]

Master sites: (Expand)

SHA1: 538c67fac2a354ab57be3786149a286bf65f24fa
RMD160: 3923cc7a2b978c3f7805fea81e1faa4d53dc6923
Filesize: 41.997 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2015-08-06 10:37:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 1.56. Changes not found, but fixes test failure noted in pkgsrc
Makefile.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-05-10 04:43:38 by Makoto Fujiwara | Files touched by this commit (5)
Log message:
- To skip make test, add the line
   TEST_TARGET?= # to skip make test (but can be enabled by 'env \ 
TEST_TARGET=test make test')
for following packages:
  devel/p5-File-ShareDir-Install
  time/p5-DateTime-Format-Strptime
  www/p5-LWP-Protocol-https
- Add BUILD_DEPENDS for make test
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
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.