mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-31 02:43:52 +08:00
FPDF_CreateNewDocument() writes CreationDate using the local time, but omitted the UTC offset. Include the offset in the PDF date string when machine time is available. Add a deterministic regression test for a non-hour timezone offset and update the saved document expectation for the longer date string. Bug: 525699558 Change-Id: I8dc9100199438350bd0f7f1f33b7aa07efefb1ef Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/150390 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>