Binary package “libtime-duration-perl” in openkylin nile
module for rounded or exact English expression of durations
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.
Source package
Published versions
- libtime-duration-perl 1.21-ok1 in amd64 (Release)
- libtime-duration-perl 1.21-ok1 in amd64 (Proposed)
- libtime-duration-perl 1.21-ok1 in arm64 (Release)
- libtime-duration-perl 1.21-ok1 in arm64 (Proposed)
- libtime-duration-perl 1.21-ok1 in i386 (Release)
- libtime-duration-perl 1.21-ok1 in i386 (Proposed)
- libtime-duration-perl 1.21-ok1 in loong64 (Release)
- libtime-duration-perl 1.21-ok1 in loong64 (Proposed)
- libtime-duration-perl 1.21-ok1 in riscv64 (Release)
- libtime-duration-perl 1.21-ok1 in riscv64 (Proposed)
- libtime-duration-perl 1.21-ok1 in rv64g (Release)
- libtime-duration-perl 1.21-ok1 in rv64g (Proposed)