Patrick McCarty phmccarty
  • Joined on 2023-05-29
phmccarty commented on issue josch/img2pdf#155 2023-06-10 23:47:25 +00:00
PDF timestamp handling issue

Thanks for the hint about astimezone() method, by the way; I had somehow missed it while researching for a solution to this issue...

Would it not be easier to just store the timestamp in…

phmccarty commented on issue josch/img2pdf#155 2023-06-10 23:39:28 +00:00
PDF timestamp handling issue

Can you confirm?

Your patch works for the default case, but it does not work when specifying --creationdate and/or --moddate strings that have non-UTC timezones.

The output of my…

phmccarty commented on issue josch/img2pdf#155 2023-05-30 05:29:53 +00:00
PDF timestamp handling issue

Sorry for that. There are hundreds of bots per month creating multiple accounts and spamming my gitea installation with several repos, issues and comments to post their spam per day. I have an…

phmccarty pushed to pdf-xmp-timestamps at phmccarty/img2pdf 2023-05-30 02:55:41 +00:00
5100507403 Address discrepancies between PDF and XMP timestamps
phmccarty pushed to pdf-xmp-timestamps at phmccarty/img2pdf 2023-05-30 02:50:22 +00:00
ee5adf90f5 Address discrepancies between PDF and XMP timestamps
phmccarty commented on pull request josch/img2pdf#168 2023-05-30 00:29:47 +00:00
Convert creation/modification dates to UTC (fixes #155)

After doing a bit more research, I discovered that PDF and XMP have different syntax for timezone offsets... I pushed an experimental change to another branch (atop this branch): https://gitlab.mis

phmccarty created branch pdf-xmp-timestamps in phmccarty/img2pdf 2023-05-30 00:25:47 +00:00
phmccarty pushed to pdf-xmp-timestamps at phmccarty/img2pdf 2023-05-30 00:25:47 +00:00
5a414ce4e4 Address discrepancies between PDF and XMP timestamps
phmccarty commented on issue josch/img2pdf#155 2023-05-29 21:35:30 +00:00
PDF timestamp handling issue

(I was the user that created this issue, but for some reason my account was deleted... Hoping that it will stay around with this new account.)

Interestingly, re-running my test script on Arch…

phmccarty created pull request josch/img2pdf#168 2023-05-29 21:20:07 +00:00
Treat default creation/mod dates as UTC (fixes #155)
phmccarty pushed to utc-timestamps at phmccarty/img2pdf 2023-05-29 21:19:43 +00:00
1dd05cc36b Treat default creation/mod dates as UTC (fixes #155)
phmccarty pushed to utc-timestamps at phmccarty/img2pdf 2023-05-29 21:15:37 +00:00
ef18e64f77 Treat default creation/mod dates as UTC (fixes #155)
phmccarty created branch utc-timestamps in phmccarty/img2pdf 2023-05-29 21:15:36 +00:00
phmccarty created repository phmccarty/img2pdf 2023-05-29 19:39:15 +00:00