Issue Description
In TIBCO JasperReports® Server Repository view, Created / Modified Date fields are represented in different formats.
Why is this so and how can I change this?
Resolution
Date Format in the Repository view based on date value:
- if this is a present date - Today value displayed
- if this is a yesterday date - Yesterday value displayed
- if this is a current year date - 'MMMMM d ' Java date format is used to display the date, something like 'February 26'
- otherwise, "M/d/yyyy" Java date format is used
This is why you see dates in different formats.
There is a way to configure current year and general date format in
WEB-INF/bundles/jasperserver_config.properties
config file.
The properties in question are:
#Date and time formats which are used in repository and in View -> Messages
repository.date.format=M/d/yyyy
repository.current.year.date.format=MMMMM d
Solution tested with TIBCO JasperReports® Server v.6.4.0
Ref. Case 01530669
Recommended Comments