react-datetime-picker icon indicating copy to clipboard operation
react-datetime-picker copied to clipboard

The format for a string value is not specified.

Open davidfaulks opened this issue 1 year ago • 0 comments
trafficstars

The docs show that the value prop can be a string, but what formats it accepts are not specified. The docs give a yyyy-MM-dd iso format, but I have tested other formats successfully.

If this is meant to be controlled by the format props, then there is a bug: a format of dd/MM/yyy results in the date being mis-parsed as MM/dd/yyyy.

davidfaulks avatar Apr 28 '24 15:04 davidfaulks