With a given input date the current implementation uses chrono's strftime to parse the date. Unfortunately it can not parse a date if it turns out that it is not unique (e.g. parsing "2018" with "%Y").
The parsing should be improved such that if a datetime is not unique the missing values should filled with the ones of the current time (e.g: parsing "2018" with "%Y" should result in "01-01-2018 20:00:00" if now is 01-01-2019 20:00:00).
With a given input date the current implementation uses
chrono
's strftime to parse the date. Unfortunately it can not parse a date if it turns out that it is not unique (e.g. parsing"2018"
with"%Y"
). The parsing should be improved such that if a datetime is not unique the missing values should filled with the ones of the current time (e.g: parsing"2018"
with"%Y"
should result in"01-01-2018 20:00:00"
if now is 01-01-2019 20:00:00).