Skip to content

read entry counters as counters, not journal dates - #441

Closed
aaravjhamb wants to merge 1 commit into
mainfrom
fix-journal-entry-counter-dates
Closed

read entry counters as counters, not journal dates#441
aaravjhamb wants to merge 1 commit into
mainfrom
fix-journal-entry-counter-dates

Conversation

@aaravjhamb

Copy link
Copy Markdown
Collaborator

Entries titled like "Day 15 August 28" were being read day-first, so the counter became the day of the month. The counter case now only wins if nothing else in the entry parses, and "Monday 15 August" is no longer mistaken for a counter. Also tightened the two date regexes so they can't backtrack on long whitespace runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant