curate format-dates : --expected-date-formats
builtins cannot be overridden
#1707
Labels
bug
Something isn't working
continuing a side discussion from #1654
Problem
--expected-date-formats
has builtin date formats that cannot be overridden. If you have dates in%Y-%d-%m
form, trying by un-overrideable builtin to parse them as%Y-%m-%d
is going to be a bad time.¹¹ #1709 (comment)
Possible solutions
--expected-date-formats
overrides the builtins (should be termed "defaults" in this case) by usingaction=ExtendOverwriteDefault
. This is likely to break lots of existing usage.--expected-date-formats
append to the builtins and add another way to say you don't want the builtins (e.g.--no-builtin-date-formats
flag or--override-expected-date-formats=FMT …
option with args or something along those lines).The text was updated successfully, but these errors were encountered: