Add MIT/X11 licence default tip

Add 'the day after' to tests

Support for 'today' and 'the day after'

Support for accurate 'next month' and 'next year'

Add initial README

Remove debug print

readdate: Fix traceback when nothing is consumed from the input text

Make prefix phrases to the times of day optional again, to satisfy the tests

Add test for 'feed the cat in 3 days'

readdate: Show the start and finish of the consumed section of the input

tests: Add support for checking the consumed part of the input

Correct (I think) notation to make optional phrases optional

Whitespace fixes

Allow to specify 'in the morning' to refer to tomorrow

Use one_of to improve matching

Match case-insensitively

Match only at word boundaries

Optimisation by saving a function per loop iteration

readdate: Print any text unused by the time calculation

Return the position of the start and end of the matched text

Add tests including years

Restore 'on day_name' match

Implement find_next_month_by_name

Add support for specifying a year in the input

readdate: Make executable

Fix for readdate tool

Add tests for days of the week

Implement find_next_day_by_name

Initial commit of ndp, the natural date processing library

(0) tip

mercurial