./time/p5-DateTime, Perl module for date/time sets and ranges

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4900, Package name: p5-DateTime-1.4900, Maintainer: pkgsrc-users

The DateTime.pm module aims to provide a complete, correct, and easy
to use date/time object implementation. Currently it handles many date
calculations, date math (addition and subtraction), and provides
convenient methods for retrieving portions of a date/time.

This module properly supports the Olson time zone database, meaning
that historical time zone information, and more importantly, daylight
saving time rules, can be handled transparently, simply by setting the
correct time zone. This is done by using the DateTime::TimeZone
module.


Required to run:
[lang/perl5] [time/p5-DateTime-Locale] [time/p5-DateTime-TimeZone] [math/p5-Math-Round] [devel/p5-namespace-autoclean] [devel/p5-Params-ValidationCompiler] [devel/p5-Specio]

Required to build:
[devel/p5-Test-Exception] [devel/p5-Exception-Class] [devel/p5-Test-Fatal] [devel/p5-CPAN-Meta-Check] [devel/p5-Test-Warnings] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 58963395dfa9e46b81de9fe4f6f87f8606a07e30
RMD160: 10627bc03c9b9a760438aafcd269293c0c3a0ce3
Filesize: 235.713 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-21 01:05:53 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.49

Upstream changes:
1.49   2018-05-20

- Updated the ppport.h with the latest version of Devel::PPPort. This fixes a
  compilation warning when compiling with 5.27.11. Reported by Jim
  Keenan. Fixed GH #81.
   2018-04-04 16:15:58 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated time/p5-DateTime to 1.4800

1.48   2018-03-26
- The last release would die if Sub::Util was not available, but this should
  just be an optional requirement. Fixed by Paul Howarth. Fixes GH #77. PR
  #78.

1.47   2018-03-25
- DateTime::Duration->multiply now only allows integer
  multipliers. Implemented by Dan Stewart. PR #73.

- Added is_last_day_of_quarter() and is_last_day_of_year()
  methods. Implemented by Dan Stewart. PR #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. Reported by Pawel
  Pabian. GH #74.
   2018-02-20 03:58:16 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.46

Upstream changes:
1.46   2018-02-11

- Fixed the formatting for the CLDR "S" symbol. It could in some cases \ 
round
  _up_ to 1 instead of truncating a value. For example, the "SSS" \ 
symbol would
  format 999,999,999 nanoseconds as "1.000". Fixed by Gianni Ceccarelli. PR
  #71.
   2017-12-31 14:44:56 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-DateTime: update to 1.4500.

1.45    2017-12-26

- Added month_length(), quarter_length() and year_length()
  methods. Implemented by Dan Stewart. PR #70.
   2017-08-26 10:29:45 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.44

Upstream changes:
1.44   2017-08-20

- Added a stringify() method. This 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-06-14 15:15:48 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-DateTime to 1.4300.

1.43   2017-05-29

- 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 separate
  between the date and time portion. This defaults to "T".
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-12-30 01:49:28 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-DateTime to 1.4200.

1.42   2016-12-25

- The DateTime::Duration->add and ->subtract methods now accept
  DateTime::Duration objects. This used to work by accident, but this is now
  done intentionally (with docs and tests). Reported by Petr Pisar. GitHub
  #50.