Package: groff
Version: 1.23.0-2

$ echo "" | groff -T pdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202138+01'+00')
/ModDate (D:20240426202138+01'+00')
$ echo "" | groff -T pdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202145+01'+00')
/ModDate (D:20240426202145+01'+00')
$ echo "" | groff -T pdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202150+02'+00')
/ModDate (D:20240426202150+02'+00')

Note the '+00' instead of '00' at the end of the date string. Also
note that the first two attempts resulted in a timezone offset of
+01:00, but the last one had a timezone offset of +02:00 (the last one
is correct).

A non-Debian groff 1.23 does not exhibit those issues:

~> echo "" | groff -Tpdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202132+02'00')
/ModDate (D:20240426202132+02'00')
~> echo "" | groff -Tpdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202142+02'00')
/ModDate (D:20240426202142+02'00')
~> echo "" | groff -Tpdf | grep -F -a Date
5 0 obj << /CreationDate (D:20240426202151+02'00')
/ModDate (D:20240426202151+02'00')


see also
https://lists.gnu.org/archive/html/groff/2024-04/msg00026.html for a
possible patch

Reply via email to