New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

This comment has been minimized.

Show comment
Hide comment
@YurinM

YurinM Jun 15, 2016

Contributor

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

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

This comment has been minimized.

Show comment
Hide comment
@tovash

tovash Jun 16, 2016

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

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