Commit 6eb3c9d3 authored by Sven Neumann's avatar Sven Neumann Committed by Uli Schlachter
Browse files

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.
parent fda1f07b
......@@ -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, ")");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment