Bug: DD-MM-YYYY HH:mm format Year has an additional - in front
Closed this issue · 3 comments
somebodydudu commented
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Current behavior
In your Sample Page:
set value 25-10-2018 15:45
set date format DD-MM-YYYY HH:mm
then click Show,
Year got - in front
Expected behavior
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Picker.js version: X.Y.Z
Browser:
- [x ] Chrome (desktop) version XX
- [x ] Chrome (Android) version XX
- [ x] Chrome (iOS) version XX
- [ x] Firefox version XX
- [ x] Safari (desktop) version XX
- [ x] Safari (iOS) version XX
- [ x] IE version XX
- [ x] Edge version XX
Others:
somebodydudu commented
somebodydudu commented
DD/MM/YYYY is working, but not with HH:mm, suspect it might be the parse for the SPACE after YYYY got issue
fengyuanchen commented
See #17