summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-03Correct 24h timefix/correct_24h_timecos
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.
2021-07-03slight modernizationHEADmasterdfhoughton
2021-03-30just supdated some dependenciesdfhoughton
2021-03-28adding cargo.lockdfhoughton
2021-03-28changing to a more permissive licensedfhoughton
2021-03-28changing to a more permissive licenseDavid
I figure if I want anyone to use this, since it's a library not an executable, it needs to have a license that doesn't scare them off.
2020-10-10date the most recent change in the change logdfhoughton
2020-10-03added configuration parameter so time expressions can default to future ↵dfhoughton
instead of past interpretation
2020-05-17date the latest changesdfhoughton
2020-05-17added 'since' expressions and also 'the' as a synonym for 'this'dfhoughton
2020-03-07bumped some version numbersdfhoughton
2020-03-07script useful for debuggingdfhoughton
2020-03-07various fixes and changes -- see CHANGES.mddfhoughton
2020-01-04fixed panicdfhoughton
2019-12-30reverted ToStringdfhoughton
2019-12-30fixing bare "pay period" needed by jobrogdfhoughton
2019-11-24bump version number and describe changedfhoughton
2019-11-24documentation fixdfhoughton
2019-11-24new small_grammar featuredfhoughton
2019-09-15use MATCHER in parsable to spread around the serialization savingsdfhoughton
2019-09-15reverse listing of changes in changelogdfhoughton
2019-09-15more changelong improvementdfhoughton
2019-09-15a bit more in the changes filedfhoughton
2019-09-15user serialized matcher to speed things updfhoughton
2019-06-30added parsable functiondfhoughton
2019-02-17making test a bit more thoroughdfhoughton
2019-02-16remove need for space between hour and AM/PMdfhoughton
2019-02-10added specific_time ruledfhoughton
2019-02-03fixed 'Friday the 13th' and 'the 31st'dfhoughton
2019-02-03added before and after patterndfhoughton
2019-02-03better organization and documentation of grammardfhoughton
2019-02-03added relative displacement patterndfhoughton
2019-02-03some commentsdfhoughton
2019-02-03rearranged code; enabled Friday the 13thdfhoughton
2019-02-02handle noon and midnightdfhoughton
2019-02-02added English number test for before/after/around patterndfhoughton
2019-02-02added time around patterndfhoughton
2019-01-27added the month-day patterndfhoughton
2019-01-27test for kalends, nones, idesdfhoughton
2019-01-27added ordinals in a_date patterndfhoughton
2019-01-20fixed regressiondfhoughton
2019-01-12added msg method to TimeErrordfhoughton
2019-01-06bumping version number; adding documentationdfhoughton
2019-01-06hiding public API itemdfhoughton
2019-01-05some documentationdfhoughton
2019-01-05made space optional before era suffixdfhoughton
2019-01-05a few more tests; removed more unused importsdfhoughton
2019-01-05removed all references to UTC timedfhoughton
2019-01-05converted from utc to naive; added 'weekend'dfhoughton
2018-12-29better URL in READMEdfhoughton