Commit Graph

131 Commits

Author SHA1 Message Date
Paul Howarth
34e8696668 Update to 1.53
- New upstream release 1.53
  - Added a $dt->rfc3339 method, based on discussion in GH#109
2020-11-09 11:29:24 +00:00
Fedora Release Engineering
1b8cdd51df - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 15:00:29 +00:00
Jitka Plesnikova
7de15c99e3 Perl 5.32 re-rebuild of bootstrapped packages 2020-06-26 16:55:27 +02:00
Jitka Plesnikova
e4e85e904d Perl 5.32 rebuild 2020-06-23 13:22:24 +02:00
Paul Howarth
206f08489b Update to 1.51
- New upstream release 1.51
  - Added a $dt->is_between($dt1, $dt2) method (based on GH#97)
  - Simplify the calculation of leap seconds in XS (GH#91); this is a little
    more efficient for most use cases (anything with future or recent past
    datetimes)
2020-03-02 12:21:18 +00:00
Fedora Release Engineering
e263fa1a90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 23:23:47 +00:00
Fedora Release Engineering
52142faf13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 02:12:40 +00:00
Jitka Plesnikova
a0b33ca2b4 Perl 5.30 re-rebuild of bootstrapped packages 2019-06-02 23:05:03 +02:00
Jitka Plesnikova
fc0ff7c011 Perl 5.30 rebuild 2019-05-31 16:51:51 +02:00
Jitka Plesnikova
c6b058cc5b Disable option tests when bootstrapping due to circular dependencies 2019-05-23 12:02:30 +02:00
Paul Howarth
370e7086cf Update to 1.51
- New upstream release 1.51
  - Fix CLDR formatting of 'S' pattern with more than 9 digits of precision;
    while we only store nanoseconds in the DateTime object we should still be
    able to handle an arbitrary number of digits properly (GH#89)
- Modernize spec using %{make_build} and %{make_install}
2019-04-22 13:21:47 +01:00
Fedora Release Engineering
33f7483812 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 19:58:54 +00:00
Paul Howarth
34ea920f48 Update to 1.50
- New upstream release 1.50
  - The %F strftime pattern incorrectly zero-padded numbers less than four
    digits; according to POSIX::strftime, this should output the year as-is
    without padding (GH#83)
2018-08-02 10:16:33 +01:00
Fedora Release Engineering
ddd77f2cea - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 16:52:50 +00:00
Jitka Plesnikova
6fbb6e390f Perl 5.28 rebuild 2018-06-29 14:44:31 +02:00
Paul Howarth
048eef353b Update to 1.49
- New upstream release 1.49
  - Updated the ppport.h with the latest version of Devel::PPPort, which fixes
    a compilation warning when compiling with 5.27.11 (GH#81)
- Switch upstream from search.cpan.org to metacpan.org
2018-05-21 11:47:22 +01:00
Jitka Plesnikova
361460fc44 Do not run optional test on RHEL 2018-04-05 12:32:43 +02:00
Paul Howarth
430b9793f9 Update to 1.48
- New upstream release 1.48
  - The last release would die if Sub::Util was not available, but this should
    just be an optional requirement (GH#77, GH#78)
2018-03-26 18:59:54 +01:00
Paul Howarth
abbb4713a7 Update to 1.47
- New upstream release 1.47
  - DateTime::Duration->multiply now only allows integer multipliers (GH#73)
  - Added is_last_day_of_quarter() and is_last_day_of_year() methods (GH#72)
  - When an exception was thrown while adding a duration, the object could be
    left in a broken state with the duration partially applied; subsequent
    addition or subtraction would produce the wrong results (GH#74)
- Add patch to support use without Sub::Util (GH#77, GH#78)
2018-03-26 12:31:22 +01:00
Paul Howarth
65d29e9f85 Update to 1.46
- New upstream release 1.46
  - Fixed the formatting for the CLDR "S" symbol, which in some cases would
    round up to 1 instead of truncating a value, e.g. the "SSS" symbol would
    format 999,999,999 nanoseconds as "1.000" (GH#71)
2018-02-12 10:50:37 +00:00
Fedora Release Engineering
b6bec3158a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 20:26:05 +00:00
Paul Howarth
9bf96abebe Update to 1.45
- New upstream release 1.45
  - Added month_length(), quarter_length() and year_length() methods (GH#70)
2017-12-31 18:14:25 +00:00
Petr Písař
e01c753be9 Control optional test with a build condition 2017-12-08 14:24:24 +01:00
Paul Howarth
f164fe190f Update to 1.44
- New upstream release 1.44
  - Added a stringify() method, which does exactly the same thing as
    stringification overloading does (GH#58)
  - Added an is_last_day_of_month() method to indicate whether or not an object
    falls on the last day of its month (GH#60)
2017-08-22 16:19:39 +01:00
Fedora Release Engineering
f475b69fe4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 05:11:59 +00:00
Fedora Release Engineering
e17b39dcb8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 03:29:00 +00:00
Petr Písař
299bd69c03 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 15:00:36 +02:00
Jitka Plesnikova
eec153abdd Perl 5.26 rebuild 2017-06-06 03:08:03 +02:00
Paul Howarth
d680a9b413 Update to 1.43
- New upstream release 1.43
  - Added a small optimization for boolification overloading: rather than
    relying on a fallback to stringification, we now return true directly,
    which is a little faster in cases like "if ($might_be_dt) { ... }"
  - The datetime() method now accepts a single argument to use as the separator
    between the date and time portion; this defaults to "T"
- Drop redundant Group: tag
2017-05-30 11:28:08 +01:00
Paul Howarth
13a6116372 Fix typo in changelog 2017-02-11 12:09:50 +00:00
Fedora Release Engineering
def37dc6df - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 02:37:22 +00:00
Paul Howarth
30329255a7 Update to 1.42
- New upstream release 1.42
  - The DateTime::Duration->add and ->subtract methods now accept
    DateTime::Duration objects; this used to work by accident but is now done
    intentionallay, with docs and tests (GH#50)
2016-12-26 17:21:44 +00:00
Paul Howarth
991509ebab Update to 1.41
- New upstream release 1.41
  - The DateTime->add and ->subtract methods now accept DateTime::Duration
    objects; this used to work by accident but is now done intentionally, with
    docs and tests (GH#45)
2016-11-17 11:00:42 +00:00
Paul Howarth
349a3257ce Update to 1.40
- New upstream release 1.40
  - Switched from RT to the GitHub issue tracker
2016-11-13 20:24:16 +00:00
Paul Howarth
6e2e376782 Update to 1.39
- New upstream release 1.39
  - Replaced Params::Validate with Params::ValidationCompiler and Specio
    - In my benchmarks this makes constructing a new DateTime object about 14%%
      faster
    - However, it slows down module load time by about 100 milliseconds (1/10
      of a second) on my desktop system with a primed cache (so really
      measuring compile time, not disk load time)
  - When you pass a locale to $dt->set you will now get a warning suggesting
    you should use $dt->set_locale instead (CPAN RT#115420)
  - Bump minimum required Perl to 5.8.4 from 5.8.1
- Use NO_PERLLOCAL=1 so we can use "make install"
2016-09-19 16:01:50 +01:00
Paul Howarth
f8e49f6a94 Update to 1.36
- New upstream release 1.36
  - Require namespace::autoclean 0.19
2016-08-07 15:33:27 +01:00
Paul Howarth
fd8c4d5e01 Update to 1.35
- New upstream release 1.35
  - Use namespace::autoclean in all packages that import anything; without
    cleaning the namespace, DateTime ends up with "methods" like try and catch
    (from Try::Tiny), which can lead to very confusing bugs (CPAN RT#115983)
2016-08-06 17:34:59 +01:00
Paul Howarth
5e985597ae Update to 1.34
- New upstream release 1.34
  - Added the leap second coming on December 31, 2016
2016-07-06 16:30:41 +01:00
Paul Howarth
63188e3731 Update to 1.33
- New upstream release 1.33
  - When you pass a locale to $dt->set you will now get a warning suggesting
    you should use $dt->set_locale instead (CPAN RT#115420)
  - Added support for $dt->truncate( to => 'quarter' ) (GH#17)
  - Fixed the $dt->set docs to say that you cannot pass a locale (even though
    you can but you'll get a warning) and added more docs for $dt->set_locale
  - Require DateTime::Locale 1.05
  - Require DateTime::TimeZone 2.00
- Take advantage of NO_PACKLIST option in recent EU:MM
2016-06-29 10:19:38 +01:00
Paul Howarth
f89d0f05ff Update to 1.28
- New upstream release 1.28
  - Fixed handling of some floating point epochs; since DateTime treated the
    epoch like a string instead of a number, certain epochs with a non-integer
    value ended up treated like integers (Perl is weird) (GH#15, fixes GH#6)
2016-05-22 12:33:45 +01:00
Jitka Plesnikova
303d19b553 Perl 5.24 rebuild 2016-05-16 01:42:05 +02:00
Paul Howarth
83963112d3 Update to 1.27
- New upstream release 1.27
  - Added an environment variable PERL_DATETIME_DEFAULT_TZ to globally set the
    default time zone (GH#14); using this is very dangerous - be careful!
- BR: perl-generators
2016-05-14 21:28:57 +01:00
Paul Howarth
1d8cf864e8 Update to 1.26
- New upstream release 1.26
  - Switched from Module::Build to ExtUtils::MakeMaker (GH#13)
2016-03-22 10:42:37 +00:00
Paul Howarth
5188a602d0 Update to 1.25
- New upstream release 1.25
  - DateTime->from_object would die if given a DateTime::Infinite object; now
    it returns another DateTime::Infinite object (CPAN RT#112712)
- Simplify find command using -empty and -delete
2016-03-07 09:10:04 +00:00
Paul Howarth
b7c39171ed Update to 1.24
- New upstream release 1.24
  - The last release partially broke $dt->time; if you passed a value to use
    as unit separator, it was ignored (CPAN RT#112585)
2016-03-01 11:45:50 +00:00
Paul Howarth
c32842e255 Update to 1.23
- New upstream release 1.23
  - Fixed several issues with the handling of non-integer values passed to
    from_epoch() (GH#11)
    - This method was simply broken for negative values, which would end up
      being incremented by a full second, so for example -0.5 became 0.5
    - The method did not accept all valid float values; specifically, it did
      not accept values in scientific notation
    - Finally, this method now rounds all non-integer values to the nearest
      millisecond, which matches the precision we can expect from Perl itself
      (53 bits) in most cases
  - Make all DateTime::Infinite objects return the system's representation of
    positive or negative infinity for any method that returns a number or
    string representation (year(), month(), ymd(), iso8601(), etc.); previously
    some of these methods could return "Nan", "-Inf--Inf--Inf", and other
    confusing outputs (CPAN RT#110341)
2016-02-29 14:47:17 +00:00
Fedora Release Engineering
39e88a41ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 13:12:47 +00:00
Paul Howarth
69df12bb3a Update to 1.21
- New upstream release 1.21
  - Make all tests pass with the current DateTime::Locale
- Explicitly BR: perl-devel, needed for EXTERN.h
2015-11-13 10:50:57 +00:00
Petr Písař
bc2ddc8edf 1.20 bump 2015-07-24 14:00:24 +02:00
Dennis Gilmore
ba5a1e51eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 02:33:24 +00:00