PlainTasks
PlainTasks copied to clipboard
Document how to change expanding short dates from MM/DD (we're not all American)
Something that took far too much code digging to find out is that changing the date format to
"date_format": "(%d-%m-%y %H:%M)"
allows you to expand dates in the format DD/MM (i.e. 01/06 expands to the 1st of June). This isn't really documented anywhere and is quite unintuitive and could make things much simpler for a lot of users
Update
Figured out that this is not the case. Requires a large rewrite of a lot of parts to make this customisable. Will this be accepted as a pull request if I code it in or is the project staying in the YY/MM/DD format?
Doesn't the DD/MM/YYYY format make way more sense? When converting the date, the first part is always the day, the 2nd the month, the 3rd year. DD -> DD/MM -> DD/MM/YY YY/MM/DD reduces to MM/DD to DD which means you have to do the parsing to get it right.
Sure, if your pr won’t break anything it will be accepted.