Jaspersoft - Date Format

Asked

Viewed 404 times

1

Hello,

We have the following version of Jaspersoft:

<serverInfo>
   <build>BUILD_DATE_STAMP_BUILD_TIME_STAMP</build>
   <dateFormatPattern>yyyy-MM-dd</dateFormatPattern>
   <datetimeFormatPattern>yyyy-MM-dd'T'HH:mm:ss</datetimeFormatPattern>
   <edition>CE</edition>
   <version>6.1</version>
</serverInfo>

The following happens:

When we generate a report on our own localhost:8080/jasperserver/ and monitor data traffic, I realize that the date in the input "20/05/2018" is converted to "2018-05-20" to be sent to the server. (We changed the settings file date jasperserver_config.properties)

However, we have an ERP that we use to point out certain reports that users can generate. But, the ERP sends the command via Rest with the format dd/mm/yyyy. We cannot change the format of the ERP because we do not have access to the source code.

My question is: how to change the date format accepted by the server to "dd/mm/yyyy"?

Thanks in advance.

Sincerely yours.

Edit: Follows image for better understanding of the problem: https://imgur.com/a/3Ev6X1a

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.