Open Kinrany opened 4 years ago
I guess we could add a deprecation notice, + the new DateFromString
codec, + maybe also the new DateFromISOString2v
(second version) codec working as expected above
@giogonzo
the new
DateFromString
codec, + maybe also the newDateFromISOString2v
(second version) codec
Hey! Could you elaborate? I'm not sure where to find either of the things you mentioned.
@OliverJAsh hi, it was just a proposal for the "fix" here, still to do :)
Next minor release:
DateFromISOString2v
using Date.parse
DateFromISOString
(in favor of 2v
)Next major release
DateFromISOString
2v
suffix
🐛 Bug report
Current Behavior
DateFromISOString
accepts any string that can be parsed bynew Date(s)
Expected behavior
DateFromISOString
accepts only ISO stringsReproducible example
Suggested solution(s)
Rename into
DateFromString
and add a note that this codec is implemented usingDate.parse()
Your environment