| 1 | Source: libtime-format-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Peter Pentchev <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | libmodule-build-perl |
| 9 | Build-Depends-Indep: libdate-manip-perl <!nocheck>, |
| 10 | libdatetime-format-iso8601-perl <!nocheck>, |
| 11 | libdatetime-perl <!nocheck>, |
| 12 | perl |
| 13 | Standards-Version: 4.5.1 |
| 14 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtime-format-perl |
| 15 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtime-format-perl.git |
| 16 | Homepage: https://metacpan.org/release/Time-Format |
| 17 | Rules-Requires-Root: no |
| 18 | |
| 19 | Package: libtime-format-perl |
| 20 | Architecture: all |
| 21 | Depends: ${misc:Depends}, |
| 22 | ${perl:Depends} |
| 23 | Recommends: libdate-manip-perl, |
| 24 | libdatetime-perl |
| 25 | Multi-Arch: foreign |
| 26 | Description: module for easy date/time formatting |
| 27 | Time::Format creates global pseudovariables which format dates and times, |
| 28 | according to formatting codes you pass to them in strings. |
| 29 | . |
| 30 | The %time formatting codes are designed to be easy to remember and use, and to |
| 31 | take up just as many characters as the output time value whenever possible. |
| 32 | For example, the four-digit year code is "yyyy", the three-letter month |
| 33 | abbreviation is "Mon". |
| 34 | . |
| 35 | The nice thing about having a variable-like interface instead of function |
| 36 | calls is that the values can be used inside of strings (as well as outside of |
| 37 | strings in ordinary expressions). Dates are frequently used within strings |
| 38 | (log messages, output, data records, etc.), so having the ability to |
| 39 | interpolate them directly is handy. |