CA Service Management

 View Only
  • 1.  Problem After Jasperserver Migration

    Posted Aug 14, 2020 02:24 PM

    I´m using Jasperserver 6 and have some custom reports that uses datetime field that are working fine showing the data in colunms.

    In version 6 report, the date is showing like this: 12/07/20 09:40

    I´m testing jasperserver migration to version 7.2.

    I did an fresh install on an test server and exported data from old version and imported in the new server.

    Running the same report on 7.2, the same datetime field of same report above showed this way: 12-40-20 09:40:
    16

    I already tryed do configure jasperserver_config.properties with date format as dd/mm/yyyy but with no success

    I have many custom reports and alter each report to put the date fields with this kind of format: new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format($F{OPEN_DATE})

    is not a viable solution
    Does anyone know another solution other editing every date field in every report that I have?



  • 2.  RE: Problem After Jasperserver Migration
    Best Answer

    Broadcom Employee
    Posted Aug 18, 2020 04:41 AM
    Edited by Christopher Hackett Aug 20, 2020 05:40 PM
    Hi Paulo,

    Maybe the info on the below link might help?

    http://help.jaspersoft.com/Default.htm#../Subsystems/jrs-admin-help/Content/JasperReports-Server-Admin-Guide/Localization/Creating_a_Locale.htm#Setting_Date_and_Datetime_Formats


    Jasper Date and Time Formats



    ------------------------------
    Kind Regards,
    Brian
    ------------------------------