Jump to content
We've recently updated our Privacy Statement, available here ×

Date format in report prompt


darmet

Recommended Posts

Hello,

On the jasper server, I published a rapport which has a prompt window.

This prompt window contains several fields of wich field of date.

I would like, when the prompt window appears, that the date has the format DD-MM-YYYY (and not MM-DD-YYYY)

How I can do that?

Thanks

Odile

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I was curious where it was too.  I found it in ..../WEB-INF/bundles/calendar.properties, where I see a line in mine that says:

CAL-def-date-format=%Y-%m-%d

I also noticed that there are different calendar_[CountryInitials].properties files, so you could presumably have the format vary depending on what locale was in effect at the time.

 

Carl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...