BSD Ports

devel/p5-Date-Extract 0.07 DragonFly

Extract probable dates from strings

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

Description

Date::Extract takes an arbitrary block of text, searches it for something that looks like a date string, and builds a DateTime object out of it. By design it will produce few false positives. This means it will not catch nearly everything that looks like a date string. So if you have the string "do homework for class 2019" it won't return a DateTime object with the year set to 2019.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Date-Extract0.07
FreeBSDdevel/p5-Date-Extract0.07
OpenBSDdevel/p5-Date-Extract0.07p0
NetBSDtime/p5-Date-Extract0.07nb4
HardenedBSDdevel/p5-Date-Extract0.07
GhostBSDdevel/p5-Date-Extract0.07

Install

Binary package:

pkg install p5-Date-Extract

From DPorts:

cd /usr/dports/devel/p5-Date-Extract && make install clean

Dependencies

Run dependencies 3
Required by 2