jrnl/features/data/journals
Peter Schmidbauer 1fa851ed0c Fix handling of little-endian date format
Ever since version 2.0, when parsing a journal file, jrnl would not use the custom date format string anymore. Instead, it relied on the dateutil library to get the parsing right. This change was made to allow people to change their date format without having to manually change their file. However, this broke some existing date formats like %d.%m.%Y, as it would falsely interpret the month as day and vice versa. This commit adds some tests to catch this error and fixes it by trying to parse the dates using the custom format first, only falling back to dateutil when needed.
2019-10-26 21:58:15 +02:00
..
bug153.dayone/entries Fixes xml header 2014-05-22 13:24:04 -07:00
dayone.dayone/entries Merged PR 2015-12-28 21:36:17 -08:00
empty_folder Adds empty folder for testing 2013-08-28 13:37:18 -07:00
brackets.journal [GH-614] resolving issues around unreadable dates and unparsed dates 2019-07-20 14:51:46 -07:00
encrypted.journal Update all tests to new time format 2015-04-05 03:25:39 +04:00
encrypted_jrnl-1-9-5.journal Converts tests to YAML 2014-09-12 15:28:12 -07:00
little_endian_dates.journal Fix handling of little-endian date format 2019-10-26 21:58:15 +02:00
markdown-headings-335.journal Add testing for increasing Headings on Markdown export 2015-04-14 15:13:00 -06:00
mostlyreadabledates.journal [GH-614] resolving issues around unreadable dates and unparsed dates 2019-07-20 14:51:46 -07:00
simple.journal Tests for #333 2015-04-05 03:27:09 +04:00
simple_jrnl-1-9-5.journal #631 Escape data in square brackets 2019-08-10 13:37:03 -07:00
simple_jrnl-1-9-5_little_endian_dates.journal Fix handling of little-endian date format 2019-10-26 21:58:15 +02:00
tags-216.journal Update all tests to new time format 2015-04-05 03:25:39 +04:00
tags-237.journal Update all tests to new time format 2015-04-05 03:25:39 +04:00
tags.journal Update all tests to new time format 2015-04-05 03:25:39 +04:00
unreadabledates.journal [GH-614] resolving issues around unreadable dates and unparsed dates 2019-07-20 14:51:46 -07:00
work.journal Changes cleaning strategy 2013-07-22 21:19:30 +02:00