summaryrefslogtreecommitdiff
path: root/time/p5-DateTime-Format-Strptime/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28*: recursive bump for perl 5.36wiz1-1/+2
2021-05-29Update to 1.79wen1-3/+2
Upstream changes: 1.79 2021-05-02 * Fix too-strict type checking for time zones. This module now uses the same check as DateTime itself, which allows for things that don't subclass DateTime::TimeZone as long as they provide the same API. Reported by E. Choroba. GH #30.
2021-05-24*: recursive bump for perl 5.34wiz1-1/+2
2021-03-28Update to 1.78wen1-3/+3
Update DEPENDS Upstream changes: 1.78 2020-12-15 * Fix tests for new failure caused by locale data changes in DateTime::Locale 1.29. Reported by cthulhu8zombie. GH #28. * Added a warning about using locale-specific patterns. Some of these patterns can change quite a bit as the locale data is updated, so using them for parsing does not produce stable results across time. This is what caused the test failures that this release fixes.
2020-09-07p5-DateTime-Format-Strptime: update to 1.7700.wiz1-3/+2
1.77 2020-02-29 * When the parsed string contained an invalid time zone offset (parsed with "%z") like "-9999", the error handling set in the parser's constructor was ignored and an exception was always thrown. Reported by x-qq. GH #25.
2020-08-31*: bump PKGREVISION for perl-5.32.wiz1-2/+2
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-1/+2
2019-06-30Update packages using a search.cpan.org HOMEPAGE to metacpan.org.nia1-2/+2
The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2019-04-07Update to 1.76wen1-3/+2
Upstream changes: 1.76 2019-02-07 [BACKWARDS INCOMPATIBILITIES] * The ability to set the pattern, time_zone, and locale via accessor methods has been removed. This was deprecated over three years ago in version 1.60. It also turns out that the setting was actually broken for a long time but no one seemed to notice, so I think it's afe to remove this feature.
2018-08-22Recursive bump for perl5-5.28.0wiz1-1/+2
2017-12-30p5-DateTime-Format-Strptime: update to 1.7500.wiz1-2/+2
1.75 2017-12-24 - Fixed tests to pass with blead Perl. Reported by James Keenan. GH #19.
2017-08-16Updated p5-DateTime-Format-Strptime to 1.7400.wiz1-3/+2
1.74 2017-08-03 - Fix text to not rely on a very specific exception message from Specio. This was broken in 0.39. Reported by Slaven Rezić. GH #18.
2017-06-05Recursive revbump from lang/perl5 5.26.0ryoon1-1/+2
2017-04-09Update to 1.73wen1-4/+5
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-07Update to 1.70wen1-2/+2
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-26Update to 1.68wen1-3/+2
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-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-06-07Add BUILD_DEPENDS+= p5-Sub-Name-[0-9]* for make testmef1-1/+2
2016-05-07Update to 1.6700wen1-2/+2
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-27Update to 1.64wen1-2/+2
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-30Add two lines for make testmef1-1/+4
BUILD_DEPENDS+= p5-Package-Stash-[0-9]*:../../devel/p5-Package-Stash BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
2015-11-15Update to 1.61wen1-3/+4
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-08-06Update to 1.56. Changes not found, but fixes test failure noted in pkgsrcwiz1-9/+2
Makefile.
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-05-10- To skip make test, add the linemef1-1/+7
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-29Bump for perl-5.20.0.wiz1-2/+2
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.
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
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.
2013-04-03Update to 1.54wen1-4/+3
Upstream changes: 1.54 2013-04-02 - Require DateTime.pm 1.00 because without it tests will break. 1.53 2013-04-02 - A fix in DateTime.pm 1.00 broke a test in this distro. Reported by Anthony J Lucas. RT #84371.
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2012-07-06Updating package for Perl 5 module DateTime::Format::Strptime insno1-6/+6
time/p5-DateTime-Format-Strptime from 1.5000 to 1.5200. pkgsrc changes: - Update comment and homepage - append 00 to upstream version to avoid comparing conflicts in pkgsrc Upstream changes: 1.52 2012-07-01 - Shut up "unescaped braces in regex" warning from 5.17.0. RT #77514. Patch by Zefram. 1.51 2012-05-27 - Packaging cleanup, including listing Test::More as a test prereq, not a runtime prereq. RT #76128.
2012-01-26Updated to 1.5000rhaen1-3/+2
Changes: 1.5000 2010-10-16 - This module did not recognize UTC as a valid time zone. Patch by Danijel Tašov. RT #59209.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-2/+2
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
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!
2010-08-04Updating time/p5-DateTime-Format-Strptime from 1.2000 to 1.4000sno1-3/+3
pkgsrc changes: - adjusting license Upstream changes: 1.4000 2010-06-28 - Actually update $VERSION in module file. Reported by David Wheeler. 1.3000 2010-06-26 - Specifiers which allowed for leading space before a number (like %e) would cause DateTime.pm to throw an error if the date being parsed actually contained leading space. Patch by Alex Vandiver. RT #58459. - Licnse is now Artistic 2.0
2010-04-18Update p5-DateTime-Format-Strptime from version 1.1000 to version 1.2000.seb1-4/+3
Approved by MAINTAINER. Pkgsrc changes: - Adjust dependencies Upstream changes: 1.2000 2010-03-19 - Updated to use non-deprecated DateTime::Locale API
2009-07-18pkgsrc changes:sno1-5/+5
- Updating package for p5 module DateTime::Format::Strptime from 1.0901 to 1.1000 - Adjusting license Upstream changes: 1.1000 2009-07-13 -- Regex Pattern - If the pattern you pass in is a regular expression, that will be honored. - Changed the locale tests to use require the latest version of Locale until the target stops moving.
2009-05-17PkgSrc changes:sno1-3/+6
- Updating package for p5 module DateTime::Format::Strptime from 1.0900 to 1.0901 - Adjusting dependencies Upstream changes: 1.0900_01 2009-04-18 -- DEVELOPER RELEASE ONLY - Makefile.PL changes for Windows users as per issue #16 1.0901 2009-05-16 -- Official release of above
2009-04-12PkgSrc changes:sno1-4/+5
- Updating package for p5 module DateTime::Format::Strptime to 1.0900 - set license to artistic-2.0 Upstream changes: 1.0701 2007-09-18 - The revised locale tests releasese - Many people pointed out that while this module hadn't broken the tests for the French locale had. This is due to a new source for the data in DateTime::Locale. - This version ONLY changes the tests and so it not a required update. 1.0702 2007-09-19 - YAML and POD - Updated the META.yml file to have the correct 'resources' and match the latest spec - Updated the docus with a 'resources' section that has the same information in it for readers of POD. - This version ONLY changes the documentation and so it not a required update. 1.0800 2008-08-07 - Pile-o-bugs - It seems that I wasn't getting notifications from Google when people had reported bugs, so there's a pile of fixes in this release. Hopefully that fixes everyone's issues. 1.0900 2009-02-22 - Another pile-o-bugs - It seems that I also wasn't seeing notifications from RT (please don't use it, use the Gooogle project) so all the following are fixed: 36672 Started failing mid May 23313 Bug handling time zones like America/New_York 25555 Module dies even when on_error is 'undef' 23768 Olson timezone handling incorrect 22450 locale test failing with bleadperl 20487 nmake test_more fail (with patch); incorrect META.yml 12071 format_datetime uses datetime locale rather than format locale 11863 bug in DateTime::Format::Strptime 1.0601 when using %s - And a couple from Google: #8 Add DateTime::Locale to documentation
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
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=...").
2008-06-20Add DESTDIR support.joerg1-1/+3
2006-06-07Added time/p5-DateTime-Format-Strptime-1.0700abs1-0/+17
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.