SAK-23662 implemented an internationalized date/time picker. It requires jQuery and jQuery-UI. As the user changes their locale, the date and time picker both change to the preferred format of the locale (e.g., 24-hour time format in Swedish).
We have already implemented the new date/time picker in Assignments, Forums, Announcements, Sections, and Polls.
parseFormat: 'YYYY-MM-DD HH:mm:ss',
val: '<insert the default date-time value here>',
The ashidden will create a new hidden variable called releaseDateISO8601 and will fill in that value with the ISO-8601 formatted time.
Then in the Java code the hidden time can be brought in with this SimpleDateFormat = "yyyy-MM-dd'T'HH:mm:ss";