octocorvus 124e48c6c8 fix PDF date parsing issue causing crash
The issue is due to optional time zone offset 'mm' field followed by
apostrophe being absent, but the parser expecting an extra apostrophe
after the time zone 'HH' field apostrophe anyway, causing it go past the
end of the date string.

Fix the issue by only checking for apostrophe if 'mm' field is present.
2024-05-07 23:56:19 -04:00
..
2024-05-07 19:21:42 -04:00