./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.7300, Package name: p5-DateTime-Format-Strptime-1.7300, 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-Package-DeprecationManager] [devel/p5-Params-ValidationCompiler] [devel/p5-Specio]

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

Master sites: (Expand)

SHA1: 20c438a82df29d0795a28bdbde72ae5c962963c4
RMD160: b8b4979c37e5f33ae669c0f0c920dfa9b2a19fb1
Filesize: 105.912 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-09 09:31:21 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.73
Update DEPENDS

Upstream changes:
1.73     2017-01-31

- The format_datetime now checks that the object it is given isa DateTime
  object. Implemented by Mohammad S Anwar. GitHub #17.

1.72     2017-01-24

- Require DateTime::Locale 1.05. This fixes some test failures seen on CPAN
  Testers. Also require DateTime::TimeZone 2.09 because you should really
  update this on a regular basis.

- Require Specio 0.33 to fix other test failures seen on CPAN (I hope).

1.71     2017-01-24

- By default, the word boundary checks added in 1.69 are now off. You can
  enable them by passing "strict => 1" to the constructor. This was \ 
reported
  as an issue by Toby Corkindale as GitHub #15.

- Switched from Params::Validate to Params::ValidationCompiler.
   2017-01-07 07:20:58 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.70

Upstream changes:
1.70     2016-12-10

- Altered the conversion specifier %z to accept 簣HH, 簣HHMM, 簣HH:MM and Z.
  Previously only 簣HHMM where accepted. PR from Christian Hansen, GitHub #13.

1.69     2016-12-04 (TRIAL RELEASE)

- The word boundary check supposedly added in 1.67 didn't really work
  properly, and still matched too much. For example, the pattern "%d-%m-%y"
  would match "2016-11-30" and turn it into November 16, 2030. This \ 
also had
  problems at the end of strings, so that the same pattern would improperly
  match "30-11-2016" as November 30, 2020. Reported by Erik Huelsmann. \ 
GitHub
  #11.

- Added docs for several formats which had long been supported but not
  documented. These are %P, %c, %x, and %X. Reported by Alexander
  Hartmaier. GH #10.
   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