Debian Codegraph @

debian/control

raw
1 Source: libpgobject-type-datetime-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Robert James Clay <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13)
8 Build-Depends-Indep: libdatetime-perl <!nocheck>,
9 libdatetime-timezone-perl <!nocheck>,
10 libpgobject-perl <!nocheck>,
11 perl
12 Standards-Version: 4.6.1
13 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libpgobject-type-datetime-perl
14 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libpgobject-type-datetime-perl.git
15 Homepage: https://metacpan.org/release/PGObject-Type-DateTime
16
17 Package: libpgobject-type-datetime-perl
18 Architecture: all
19 Depends: ${misc:Depends},
20 ${perl:Depends},
21 libdatetime-perl,
22 libdatetime-timezone-perl,
23 libpgobject-perl
24 Description: DateTime Wrappers for PGObject
25 PGObject::Type::DateTime provides a basic wrapper around DateTime to allow
26 PGObject-framework types to automatically tie date/time related objects, but
27 date and timestamp formats are handled in the 'from_db' routines.
28 .
29 This specific module only supports the ISO YMD datestyle. The MDY or DMY
30 datestyles may be usable in future versions but datestyles other than ISO
31 raise ambiguity issues, sufficient that they cannot always even be used in
32 PostgreSQL as input.
33 .
34 This module also provides basic default handling. Times are assigned a date
35 of '0001-01-01' and dates are assigned a time of midnight. Whether this is
36 set is persisted, along with whether timezones are set, and these are
37 returned to a valid ISO YMD format on export, if a date component was
38 initially set.
39 .
40 This means you can use this for general math without worrying about many of
41 the other nicities. Parsing ISO YMD dates and standard times (24 hr format)
42 is supported via the from_db interface, which also provides a useful way of
43 handing dates in.