poppler/DateInfo.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 3d69e0de6a136cde9844b63886294ae532bc50aa Author: Albert Astals Cid <[email protected]> Date: Tue Nov 24 16:36:49 2020 +0100 timeToDateString: We forgot the ' after the minutes Adobe Reader seems to be particularly strict about this diff --git a/poppler/DateInfo.cc b/poppler/DateInfo.cc index 810bec9b..d277ee74 100644 --- a/poppler/DateInfo.cc +++ b/poppler/DateInfo.cc @@ -7,6 +7,7 @@ // Copyright (C) 2015 André Guerreiro <[email protected]> // Copyright (C) 2015 André Esser <[email protected]> // Copyright (C) 2016, 2018 Adrian Johnson <[email protected]> +// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, <[email protected]>. Work sponsored by Technische Universität Dresden // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -87,9 +88,9 @@ GooString *timeToDateString(const time_t *timeA) const time_t timeg = timegm(&localtime_tm); const time_t offset = difftime(timeg, timet); // find time zone offset in seconds if (offset > 0) { - dateString->appendf("+{0:02d}'{1:02d}", offset / 3600, (offset % 3600) / 60); + dateString->appendf("+{0:02d}'{1:02d}'", offset / 3600, (offset % 3600) / 60); } else if (offset < 0) { - dateString->appendf("-{0:02d}'{1:02d}", -offset / 3600, (-offset % 3600) / 60); + dateString->appendf("-{0:02d}'{1:02d}'", -offset / 3600, (-offset % 3600) / 60); } else { dateString->append("Z"); } _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
