[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gropdf (1.23.0): incorrect CreationDate/ModDate
From: |
Christof Meerwald |
Subject: |
gropdf (1.23.0): incorrect CreationDate/ModDate |
Date: |
Thu, 4 Apr 2024 23:44:25 +0200 |
There appear to be two bugs in how gropdf (from 1.23.0) writes the
CreationDate/ModDate. To demonstrate I am running
while sleep 60; do date; echo "" |
groff -Z -Tpdf | gropdf | fgrep -a Date; done
which results in the following output:
Thu 4 Apr 23:30:55 CEST 2024
5 0 obj << /CreationDate (D:20240404233056+01'+00')
/ModDate (D:20240404233056+01'+00')
Thu 4 Apr 23:31:56 CEST 2024
5 0 obj << /CreationDate (D:20240404233156+01'+00')
/ModDate (D:20240404233156+01'+00')
Thu 4 Apr 23:32:56 CEST 2024
5 0 obj << /CreationDate (D:20240404233256+02'+00')
/ModDate (D:20240404233256+02'+00')
Thu 4 Apr 23:33:56 CEST 2024
5 0 obj << /CreationDate (D:20240404233357+02'+00')
/ModDate (D:20240404233357+02'+00')
I don't think there should be a "+" sign in the last component of the
dates, it should probably be
D:20240404233357+02'00'
instead of
D:20240404233357+02'+00'
And I am pretty sure we didn't just switch to summer time at around
23:32 here.
gropdf 1.22.4 doesn't appear to have these bugs.
Christof
--
https://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org
- gropdf (1.23.0): incorrect CreationDate/ModDate,
Christof Meerwald <=