BSD Ports

devel/p5-TimeDate 2.33,1 DragonFly

Perl5 module containing a better/faster date parser for absolute dates

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
32.7 KiB, 89.8 KiB installed

Description

The TimeDate distribution replaces earlier GetDate distribution, which was only a date parser. The date parser contained in this distribution is far superior to the yacc based parser, and a *lot* faster.

The parser contained here will only parse absolute dates, if you want a date parser that can parse relative dates then take a look at the Time modules by David Muir on CPAN.

The file Local.pm.new which is included in this distribution is a patched version of Time::Local which comes with perl. It fixes two problems

- It determines the zone offset based on now rather than epoch
- It fixes a problem with looping forever when a year > 1900 is passed in

In the other systems

SystemPortVersion
DragonFlydevel/p5-TimeDate2.33,1
FreeBSDdevel/p5-TimeDate2.35,1
NetBSDtime/p5-TimeDate2.35nb1
MidnightBSDdevel/p5-TimeDate2.35,1
HardenedBSDdevel/p5-TimeDate2.35,1
GhostBSDdevel/p5-TimeDate2.35,1
OPNsensedevel/p5-TimeDate2.35,1

Install

Binary package:

pkg install p5-TimeDate

From DPorts:

cd /usr/dports/devel/p5-TimeDate && make install clean

Dependencies

Run dependencies 1