libtime-duration-perl binary package in Ubuntu Bionic amd64
Time::Duration provides functions for expressing time spans in rounded
or exact terms. So while
.
say duration_
.
will correctly give "23 hours, 59 minutes, and 59 seconds",
.
say ago(86399);
.
will output the rounded time span as "1 day ago".
.
The provided functions are duration(), ago(), from_now(), later() and
earlier(), along with their *_exact counterparts. The precision used
for rounding can be specified, and version 1.10 added a millisecond
mode.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2017-10-24 21:55:24 UTC | Published | Ubuntu Bionic amd64 | release | universe | perl | Optional | 1.20-1 | ||
|