SM OR - Date convert does not work with SimpleDateFormat "dd/MM/yyyy" #151

Open
tovash opened this Issue Apr 21, 2016 · 2 comments

Projects

None yet

2 participants

@tovash
tovash commented Apr 21, 2016

Useing convertDateTime with format "dd/mm/yyyy" On dateChooser component.
When enter from keyboard the date in the following format 01/01/16 the date save as 01/01/0016
and NOT as expected (01/01/2016).

@YurinM
Contributor
YurinM commented Jun 15, 2016

Please use the correct date/time pattern: dd/MM/yyyy instead of dd/mm/yyyy.

Please take a look at the spec: Specifying the Date Format -

Note that the DateChooser component supports only "d", "M", "y" and "E" pattern letters

Using a little "m" for months is not correct, because according to DateTimeFormat spec - this symbol defined for minutes, whereas bigger "M" defined for months of year. DateTimeFormat

@tovash
tovash commented Jun 16, 2016

I'm sorry for typo, but we actually use the pattern dd/MM/yyyy as I wrote in the issue title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment