Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-03 | Correct 24h timefix/correct_24h_time | cos | |
While respecting that there is one culture which has colonized this planet, as well as managed to make its language the lingua franca of the contemporary world, its typical use of 12h time can not excuse going as wild with "parsing English time expressions" as this crate does prior to this commit. One might consult https://en.wikipedia.org/wiki/24-hour_clock to learn about reasonable expectations. Specifically, this fixes the bugs: * No times during the interval 00:00-00:59 were allowed. * The time 24:00 was considered 00:00, of the wrong (preceeding) day. * Bogus times in the interval 24:00-24:59 were allowed. After this commit 24:00 becomes an invalid time. Correctly rewriting it to 00:00, with overflow to the next day, is left as an excercise to whoever feels strongly enough for that edge functionality. | |||
2020-10-03 | added configuration parameter so time expressions can default to future ↵ | dfhoughton | |
instead of past interpretation | |||
2020-05-17 | added 'since' expressions and also 'the' as a synonym for 'this' | dfhoughton | |
2020-03-07 | various fixes and changes -- see CHANGES.md | dfhoughton | |
2020-01-04 | fixed panic | dfhoughton | |
2019-12-30 | reverted ToString | dfhoughton | |
2019-12-30 | fixing bare "pay period" needed by jobrog | dfhoughton | |
2019-11-24 | documentation fix | dfhoughton | |
2019-11-24 | new small_grammar feature | dfhoughton | |
2019-09-15 | use MATCHER in parsable to spread around the serialization savings | dfhoughton | |
2019-09-15 | user serialized matcher to speed things up | dfhoughton | |
2019-06-30 | added parsable function | dfhoughton | |
2019-02-16 | remove need for space between hour and AM/PM | dfhoughton | |
2019-02-10 | added specific_time rule | dfhoughton | |
2019-02-03 | fixed 'Friday the 13th' and 'the 31st' | dfhoughton | |
2019-02-03 | added before and after pattern | dfhoughton | |
2019-02-03 | better organization and documentation of grammar | dfhoughton | |
2019-02-03 | added relative displacement pattern | dfhoughton | |
2019-02-03 | rearranged code; enabled Friday the 13th | dfhoughton | |
2019-02-02 | handle noon and midnight | dfhoughton | |
2019-02-02 | added time around pattern | dfhoughton | |
2019-01-27 | added the month-day pattern | dfhoughton | |
2019-01-27 | added ordinals in a_date pattern | dfhoughton | |
2019-01-20 | fixed regression | dfhoughton | |
2019-01-12 | added msg method to TimeError | dfhoughton | |
2019-01-06 | hiding public API item | dfhoughton | |
2019-01-05 | made space optional before era suffix | dfhoughton | |
2019-01-05 | a few more tests; removed more unused imports | dfhoughton | |
2019-01-05 | removed all references to UTC time | dfhoughton | |
2019-01-05 | converted from utc to naive; added 'weekend' | dfhoughton | |
2018-12-29 | finished code documentation | dfhoughton | |
2018-12-29 | handle years better | dfhoughton | |
2018-12-28 | more two-time expressions working | dfhoughton | |
2018-12-28 | handle relative months | dfhoughton | |
2018-12-28 | better relative time handling; added relative days | dfhoughton | |
2018-12-27 | finished specific periods | dfhoughton | |
2018-12-27 | and more synonyms | dfhoughton | |
2018-12-27 | added some more synonyms for fun | dfhoughton | |
2018-12-27 | introduced a config object to simplify function signatures and handle pay ↵ | dfhoughton | |
periods | |||
2018-12-26 | more refactoring in preparation for handling periods | dfhoughton | |
2018-12-26 | refactored things to handle periods | dfhoughton | |
2018-12-26 | a little refactoring | dfhoughton | |
2018-12-24 | added simple times | dfhoughton | |
2018-12-23 | removed unnecessary main.rs; added time of day handling | dfhoughton | |
2018-12-23 | first commit | dfhoughton | |