curate format-dates : --expected-date-formats
defaults cannot be overridden
#1707
Labels
bug
Something isn't working
continuing a side discussion from #1654
Problem
--expected-date-formats
was originally written without defaults (empty list). Defaults were added in adf1e78, however due to use ofaction='extend'
, they cannot be overridden.Possible solutions
--expected-date-formats
overrides the defaults by usingaction=ExtendOverwriteDefault
. This is likely to break lots of existing usage.--expected-date-formats
append to the defaults (i.e. builtins) and add another way to say you don't want the defaults (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: