• Bram Schoenmakers's avatar
    Better handling of invalid dates · 8d5f43ba
    Bram Schoenmakers authored
    The postpone subcommand would crash when postponing a todo item with an
    invalid due date (e.g. due:2017-06-31).
    
    When postponing, the due date serves as an offset. With an invalid due
    date, no proper offset can be found. Instead of (silently) falling back
    to today's due date, show an error instead.
    
    Moreover, invalid creation/completion dates are also ignored.
    8d5f43ba
test_postpone_command.py 13.9 KB