libtime-duration-perl 1.21-ok1 source package in openKylin
Changelog
libtime-duration-perl (1.21-ok1) yangtze; urgency=medium * Build for openkylin. -- sufang <email address hidden> Fri, 23 Sep 2022 10:16:31 +0800
libtime-duration-perl (1.21-ok1) yangtze; urgency=medium * Build for openkylin. -- sufang <email address hidden> Fri, 23 Sep 2022 10:16:31 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Nile V2.0 | proposed | main | perl | |
Nile V2.0 | release | main | perl | |
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libtime-duration-perl_1.21.orig.tar.gz | 16.1 KiB | 0e52122246b864d95ee34b52817cbf24775ddbdf68c254220958137703a45e4b |
libtime-duration-perl_1.21-ok1.debian.tar.xz | 7.6 KiB | c0bd850bcc514b99ca1cf3b6e6c92b0c05645f4c34f6e5b07ce7ef6aa51cce4f |
libtime-duration-perl_1.21-ok1.dsc | 1.8 KiB | e86922662fcabdc9fde2aa94ca8681e3e4d53f9496c0c43135997199567e8e97 |
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.