forked from josch/img2pdf
Patrick McCarty
81502f21af
Ensure that timezones are correctly interpreted in the input by calling `.astimezone()` as appropriate on datetime objects, and store the resulting date fields as UTC. One could argue that datetimes in the local timezone be stored in the PDF, but then the date string handling becomes more complicated; the PDF and XMP date specs both use the `Z` suffix to indicate UTC time, but other +/- offsets require different syntax between the two specs. |
||
---|---|---|
.. | ||
tests | ||
img2pdf.py | ||
img2pdf_test.py | ||
jp2.py |