Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Timezone problem
vradhika
Hi,
Dates in our db are stored in GMT but we would like to display the dates in the reports in the default format for the locale and the timezone.
I set the locale and the timezone in the run task as well as the render task
task.setLocale( new Locale( (String)parametersMap.get( "pLocale" )));
task.setTimeZone( com.ibm.icu.util.TimeZone.getTimeZone(String)parametersMap.get( "pTZLabel" )));
When the dates are displayed in the report, it is formatted correctly based on the locale but the time still shows GMT time.
Is there something that I am missing here?
Any help will be appreciated.
Thanks,
Radhika
Find more posts tagged with
Comments
mwilliams
Hi Radhika,
So, the timezone label and formatting and everything is changed? But the actual time value is not changing to what you want? Is this correct?