BSD Ports

time/p5-DateTime 1.6700 NetBSD

Perl module for date/time sets and ranges

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cfe02bc275
License
artistic-2.0
Categories
time, perl5
Package size
63.3 KiB, 314.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDtime/p5-DateTime1.6700
FreeBSDdevel/p5-DateTime1.66
OpenBSDdevel/p5-DateTime1.67v0
DragonFlydevel/p5-DateTime1.66
MidnightBSDdevel/p5-DateTime1.66
HardenedBSDdevel/p5-DateTime1.66
GhostBSDdevel/p5-DateTime1.66
OPNsensedevel/p5-DateTime1.66

Install

Binary package:

pkgin install p5-DateTime

From pkgsrc:

cd /usr/pkgsrc/time/p5-DateTime && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.6700
NetBSD 10.1 aarch641.6600nb1
SmartOS / illumos x86_641.6700
macOS 15 arm641.6700

Dependencies

Run dependencies 7
Required by 75

Commit history 2

DateCommitCreditsLog message
cfe02bc275 wiz p5-DateTime: update to 1.6700.
1.67 2026-08-30 - Documented that the `truncate` method can throw a fatal error if the truncation produces a datetime that doesn't exist in the local time zone. This can happen when truncating to a day (or more) in a time zone with a DST transition at midnight. Reported by @tsadok. GH #155. - - Documented that `rfc3339` does not include nanoseconds. Reported by @n1vux (Bill Ricker). GH #150. - Fixed docs for `strftime` to remove the bit that said it returned the same values as the POSIX `strftime`. This hasn't been the case for a long time. Reported by @jimav (Jim Avera). GH #148.
618415630a wiz *: recursive bump for perl5 5.44.0