Commit Graph

115 Commits

Author SHA1 Message Date
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
Jitka Plesnikova
a60219d22d Perl 5.22 rebuild 2015-06-06 20:54:34 +02:00
Petr Šabata
0bec7a0d16 Comment on the misleading license header in XS 2015-03-06 17:10:57 +01:00
Paul Howarth
72cfd915fe 1.18 bump 2015-01-06 11:18:09 +00:00
Paul Howarth
e4d96f3cb2 1.17 bump
- New upstream release 1.17
- Use %license
- Make %files list more explicit
2015-01-05 15:51:05 +00:00
Paul Howarth
b430fd2c3d 1.14 bump 2015-01-05 09:39:34 +00:00
Jitka Plesnikova
bfbbf75973 Perl 5.20 rebuild 2014-09-04 13:02:10 +02:00
Petr Písař
83badaa6a5 1.12 bump 2014-09-02 13:52:11 +02:00
Jitka Plesnikova
92b3882b53 Perl 5.20 rebuild 2014-08-29 15:31:53 +02:00
Peter Robinson
62733f5fa1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 15:59:37 +00:00
Dennis Gilmore
7d11b5a14b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 22:06:54 -05:00
Petr Písař
f7445b0290 1.10 bump 2014-05-07 08:59:39 +02:00
Paul Howarth
8f63f18dde 1.08 bump 2014-03-14 15:52:37 +00:00
Paul Howarth
01d4fec0de 1.07 bump 2014-02-10 10:13:30 +00:00
Petr Písař
4d6340b3db 1.06 bump 2014-01-03 08:57:24 +01:00
Petr Písař
28b99ffc7f 1.04 bump 2013-12-10 08:06:25 +01:00
Dennis Gilmore
073201612f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 14:43:45 -05:00
Petr Písař
abf6f385ff Perl 5.18 rebuild 2013-07-30 17:26:07 +02:00
Jitka Plesnikova
e16055f9ff 1.03 bump 2013-06-25 15:19:26 +02:00
Petr Šabata
619c758685 1.01 bump 2013-04-02 09:18:44 +02:00
Dennis Gilmore
45586027a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 05:48:39 -06:00
Jens Petersen
ef7b982dea fix epoch back to 2 2012-11-20 15:59:25 +09:00