Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
DateTimeFormat javdoc mistake [SPR-8838] #13480
The javadoc for DateTimeFormat says
"For custom formatting, set the pattern() attribute to be the DateTime pattern, such as yyyy/mm/dd h:mm:ss a."
This is example is misleading. MM is for month, while mm is for minutes - the example uses minutes where month is expected.
example should probably be "yyyy/MM/dd hh:mm:ss a" (capital M for moneths, extra h for hours)
Referenced from: commits 4ededaf