Commit Graph

29 Commits

Author SHA1 Message Date
Paul Howarth 8bb6944b28 Update to 1.79
- New upstream release 1.79
  - 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 (GH#30)
2021-05-03 12:13:09 +01:00
Paul Howarth a63fedc647 Update to 1.78
- New upstream release 1.78
  - Fix tests for new failure caused by locale data changes in DateTime::Locale
    1.29 (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-12-16 16:03:36 +00:00
Paul Howarth 2363b5035c Update to 1.77
- New upstream release 1.77
  - 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 (GH#25)
- Use %{make_build} and %{make_install}
2020-03-02 13:11:19 +00:00
Paul Howarth cff90e8153 Update to 1.76
- New upstream release 1.76
  - 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)
- Package new upstream document CODE_OF_CONDUCT.md
2019-02-08 11:59:01 +00:00
Paul Howarth e74279a2ff Update to 1.75
- New upstream release 1.75
  - Fixed tests to pass with blead Perl (GH#19)
2017-12-26 17:16:55 +00:00
Paul Howarth 4ec673b9fe Update to 1.74
- New upstream release 1.74
  - Fix text not to rely on a very specific exception message from Specio; this
    was broken in 0.39 (GH#18)
2017-08-04 11:11:25 +01:00
Paul Howarth 8e99b37e53 Update to 1.73
- New upstream release 1.73
  - The format_datetime method now checks that the object it is given isa
    DateTime object (GH#17)
2017-02-01 10:30:42 +00:00
Paul Howarth 2ac3c1bde4 Update to 1.72
- New upstream release 1.72
  - By default, the word boundary checks added in 1.69 are now off; you can
    enable them by passing "strict => 1" to the constructor (GH#15)
  - Switched from Params::Validate to Params::ValidationCompiler
  - Require DateTime::Locale 1.05; this fixes some test failures seen on CPAN
    Testers
  - 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)
2017-01-25 11:47:31 +00:00
Paul Howarth 61510495ef Update to 1.70
- New upstream release 1.70
  - The word boundary check supposedly added in 1.67 didn't really work
    properly, and still matched too much (GH#11)
  - Added docs for several formats that have long been supported but not
    documented; these are %P, %c, %x, and %X (GH#10)
  - Altered the conversion specifier %z to accept ±HH, ±HHMM, ±HH:MM and Z;
    previously only ±HHMM were accepted (GH#13)
2016-12-11 16:03:05 +00:00
Paul Howarth 8b756191dd Update to 1.68
- New upstream release 1.68
  - Author tests are no longer in t/, which makes running tests for non-authors
    much faster (CPAN RT#114237)
2016-05-09 14:17:18 +01:00
Paul Howarth 2fd18d81a2 Update to 1.67
- New upstream release 1.67
  - Fixed a regression introduced in 1.60; older versions of this library would
    match dates pretty much 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" (GH#3)
2016-04-01 10:23:07 +01:00
Paul Howarth d97511da40 Update to 1.66
- New upstream release 1.66
  - Added a zone_map constructor argument; this lets you supply a mapping for
    ambiguous time zone abbreviations (CPAN RT#74762)
2016-03-29 11:27:02 +01:00
Paul Howarth 5bd77b2eea 1.65 bump 2016-03-20 13:16:36 +00:00
Petr Šabata e10d98d64e 1.64 bump 2016-02-22 14:13:56 +01:00
Petr Šabata 6526fa5187 1.63 bump
- Modernize the SPEC file
2016-01-14 12:14:30 +01:00
Petr Šabata 75142a41d7 1.62 bump 2015-12-21 13:16:08 +01:00
Paul Howarth 48c1646c2b 1.61 bump 2015-11-14 20:23:17 +00:00
Paul Howarth 723b7597ea 1.60 bump 2015-11-08 16:42:49 +00:00
Petr Písař 85b64c7a6a 1.57 bump 2015-10-08 09:47:37 +02:00
Petr Písař e93aa0cd57 1.56 bump 2014-08-12 14:01:19 +02:00
Paul Howarth f0b5421e6d Update to 1.55
- New upstream release 1.55 (rpm version 1.5500 to maintain upgrade path)
  - If diagnostic is true for an object, it will now use Test::More::diag()
    under the test harness rather than printing to STDOUT
  - The %%z specifier will now parse UTC offsets with a colon like "+01:00"
    (CPAN RT#91458)
  - Made the regexes to parse day and months abbreviations and names a little
    more specificl as it stood, they tended to eat up more non-word characters
    than they should, so a pattern like '%a%m%d_%Y' broke on a date like
    'Fri0215_2013' - the day name would be parsed as 'Fri02' and the month
    would not be parsed at all (CPAN RT#93863, CPAN RT#93865)
- Specify all dependencies
- Use DESTDIR rather than PERL_INSTALL_ROOT
2014-05-04 20:21:21 +01:00
Paul Howarth f5510b8b0b Update to 1.54 (rpm version 1.5400 to maintain upgrade path)
- New upstream release 1.54
  - Packaging cleanup, including listing Test::More as a test prereq, not a
    runtime prereq (CPAN RT#76128)
  - Shut up "unescaped braces in regex" warning from 5.17.0 (CPAN RT#77514)
  - A fix in DateTime.pm 1.00 broke a test in this distro (CPAN RT#84371)
  - Require DateTime.pm 1.00 because without it tests will break
- Specify all dependencies
- This release by DROLSKY -> update source URL
- Drop %defattr, redundant since rpm 4.4
- Don't need to remove empty directories from the buildroot
- Don't use macros for commands
- Make %files list more explicit
2013-04-03 16:26:49 +01:00
Steven Pritchard 987af045a3 Update to 1.5000. 2010-12-22 17:44:35 -06:00
Marcela Mašláňová b1805dcc9a - Mass rebuild with perl-5.12.0 2010-05-07 13:57:36 +00:00
Paul Howarth 53ebaf1fe0 - Fix FTBFS (#564718) by bumping buildreq version of perl(DateTime) from
0.4304 to 0.44 (RPM considers 0.4304 > 0.44, unlike perl) and bumping
    version to
1.1000 for compatibility with DateTime::Locale 0.43 (upstream ticket 19)
- Update buildreq version requirement for perl(DateTime::Locale) to 0.43
- Drop test patch, no longer needed
- Run additional tests for full locale coverage
2010-02-16 08:13:56 +00:00
Steven Pritchard 4a652f4c56 Update to 1.0800. Update versions on build dependencies. 2008-09-22 18:23:05 +00:00
Steven Pritchard c95065610a Update to 1.0702. Drop charset patch. Update License tag. BR Test::More. 2008-01-03 17:28:37 +00:00
Steven Pritchard b818b88a19 auto-import perl-DateTime-Format-Strptime-1.0700-1 on branch devel from
perl-DateTime-Format-Strptime-1.0700-1.src.rpm
2006-07-07 17:40:19 +00:00
Steven Pritchard 62e8bf4cae Setup of module perl-DateTime-Format-Strptime 2006-07-07 17:39:47 +00:00