Skip to content
Show relative dates instead of absolute ones
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Test
bin
t
Makefile
README.md

README.md

DESCRIPTION

reldate turns absolute dates (e.g. 09-02-2016) into timespans relative to the current date (2 days ago).

It parses text from stdin (or passed FILE(s)) and replaces any date [as specified by PATTERN] with a relative one.

It directly converts the passed timespan (in SECONDS), or the passed EPOCH.

It prints the modification date, relative to now, of the passed FILE.

DEPENDENCIES

On Ubuntu, this requires the following packages:

$ apt-get install libmodern-perl-perl libtime-duration-perl

On CentOS, this requires the following packages:

$ yum install perl-Modern-Perl perl-Time-Duration perl-Time-Piece
You can’t perform that action at this time.