BSD Ports

devel/p5-Date-Extract 0.07p0 OpenBSD

extract probable dates from strings

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

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
OpenBSDdevel/p5-Date-Extract0.07p0
FreeBSDdevel/p5-Date-Extract0.07
NetBSDtime/p5-Date-Extract0.07nb4
DragonFlydevel/p5-Date-Extract0.07
HardenedBSDdevel/p5-Date-Extract0.07
GhostBSDdevel/p5-Date-Extract0.07

Install

Binary package:

pkg_add p5-Date-Extract

From the ports tree:

cd /usr/ports/devel/p5-Date-Extract && make install

Dependencies

Run dependencies 2
Required by 1