mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 08:28:03 +02:00
Fix conversion from ISO 8601 to PDF date string
The code used to unintentionally drop the minutes from the timezone offset, see issue #392. This is now fixed.
This commit is contained in:
parent
5d97c12859
commit
c43ff33c43
1 changed files with 2 additions and 1 deletions
|
|
@ -1666,7 +1666,8 @@ iso8601_to_pdf_date_string (const char *iso)
|
|||
if (strlen (p) < 3)
|
||||
goto finish;
|
||||
|
||||
strncat (buf, p + 1, 3);
|
||||
strncat (buf, p + 1, 2);
|
||||
strcat (buf, "'");
|
||||
|
||||
finish:
|
||||
strcat (buf, ")");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue