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

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


Branch: CURRENT, Version: 1.4400, Package name: p5-DateTime-1.4400, 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:
[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: 884ef8294419de0a45b47b9120ce9ec66aa895d5
RMD160: 5bd0c43e3058343307f9c9d59b85fd5ca269bc47
Filesize: 234.067 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2016-11-17 15:34:03 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.41

Upstream changes:
1.41   2016-11-16

- The DateTime->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). Based on PR #45 from Sam Kington.
   2016-11-13 02:43:28 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.40

Upstream changes:
1.40   2016-11-12

- Switched from RT to the GitHub issue tracker.
   2016-09-19 01:40:23 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated time/p5-DateTime to 1.3900
----------------------------------
1.39   2016-09-17
- Bump minimum required Perl to 5.8.4 from 5.8.1. Looking at CPAN Testers,
  this distro hasn't actually passed with earlier Perl versions since
  1.35. I'm not explicitly testing with anything earlier than 5.8.8
   2016-09-19 00:56:16 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated p5-DateTime to 1.3800.

1.38   2016-09-16

- This release includes changes from past trial releases to switch from
  Params::Validate and Params::ValidationCompiler. Relevant release notes from
  those trial releases are repeated here for clarity.

- 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. The previous trial releases didn't allow
  locale to be passed at all, which broke a lot of modules. I've sent PRs, but
  for now the parameter should be allowed (but discouraged). Reported by
  Slaven Rezić. RT #115420.

1.37   2016-08-14 (TRIAL RELEASE)

- Require the latest Params::ValidationCompiler (0.11).