English (Canada) locale short date format is wrong in Classic UI
book
Article ID: 278472
calendar_today
Updated On:
Products
Clarity PPM On Premise
Clarity PPM SaaS
Issue/Introduction
When using English (Canada) locale, found that short date in Clarity PPM in Classic is using wrong formats in some pages.
STEPS TO REPRODUCE:
Note this is just an example and date should be using yyyy-mm-dd everywhere where short date is used
- Connect to Clarity Classic - Home - Account Settings
- Set your user Locale to English (Canada) and Save
- Log out, log back in
- Go to Classic Timesheets, open a timesheet
- Note in the drop down you can see the Time Periods
Expected Results: See the time periods in Canada short date locale, yyyy-mm-dd
Actual Results:The time periods are displayed in dd/mm/yy
Environment
All Supported Clarity Releases
Resolution
Reviewed for consideration to be added as user story: Not technically feasible due to impact
Workaround:
- Update the properties.xml file for the app service to add the below JVM parameter:
-Djava.locale.providers=CLDR,COMPAT,SPI
Example:
<applicationServerInstance id="app" serviceName="Clarity PPM App Server" rmiPort="23791" jvmParameters="-Xms512m -Xmx2048m -XX:-UseGCOverheadLimit -DforceMemorySettings=false -XX:MaxMetaspaceSize=512m -Djava.locale.providers=CLDR,COMPAT,SPI" maxThreads="1000" programParameters="" distributed="false" runJobScheduler="false" useSSO="false" maxConcurrentJobs="10" runProcessEngine="false" messageTimeToLive="120" messageReceiverInterval="5" exceptionRunInterval="normal" serviceType="app" pushServiceLivenessInterval="180" statusMonitorInterval="300">
<war context="pm" name="ppm-ux" enable="true"/>

- Restart all services
If you still see error in Classic Timesheets such as below:
Timesheet filter is no longer working.
- Go to Classic Timesheets
- Filter on Custom Range - enter a date in the calendar
Click Filter - error message "Incorrect date format"
Recommendation is to switch to using MUX Timesheets - unfortunately the impact of the change would be too great to update this
Feedback
thumb_up
Yes
thumb_down
No