[SCM] Debian packaging of libtime-duration-perl branch, master, updated. debian/1.06-4-8-gc0f3b83

Florian Schlichting fsfs at debian.org
Mon Apr 15 19:57:06 UTC 2013


The following commit has been merged in the master branch:
commit 4e39673cc511d84771cef4f14aae5039bfc2fd0b
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Apr 15 21:44:47 2013 +0200

    make long description more descriptive

diff --git a/debian/control b/debian/control
index 8c2d5f0..62b181a 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,19 @@ Architecture: all
 Depends: ${misc:Depends},
          ${perl:Depends}
 Description: module for rounded or exact English expression of durations
- Time::Duration provides functions for expressing durations in rounded or
- exact terms.
+ Time::Duration provides functions for expressing time spans in rounded
+ or exact terms. So while
+ .
+    say duration_exact(86399);
+ .
+ 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.
 

-- 
Debian packaging of libtime-duration-perl



More information about the Pkg-perl-cvs-commits mailing list