Description
When the t:schedule specifies the "headerDateFormat" attribute, the Shared Renderer doesn't use the default locale, instead, it only creates a new SimpleDateFormat. Patch provided:
AbstractScheduleRenderer.java
Change
======================================================================
format = new SimpleDateFormat(pattern);
To
======================================================================
if (context.getApplication().getDefaultLocale() != null)
{ format = new SimpleDateFormat(pattern, context .getApplication().getDefaultLocale()); }else
{ format = new SimpleDateFormat(pattern); }Attachments
Issue Links
- is duplicated by
-
TOMAHAWK-975 t:schedule HeaderDateFormat locale problems
- Closed