Wang Yongjie 64f69426a1 Add timezone offset to new document creation date
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>
2026-06-26 14:18:36 -07:00
..