leg: relax datetime parsing

Allow for dates (without the time component).

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>