Date parameter format

Posted by: ian on 11 May 2023, 9:19 pm EST

    • Post Options:
    • Link

    Posted 11 May 2023, 9:19 pm EST

    The display of selected value in a date parameter does not seem to be respecting system locale values and is always displayed as US format (mm/dd/yyyy). I am in the UK and locale is set to dd/mm/yyyy

    Is there any way to respect these locale settings?

  • Posted 16 May 2023, 6:19 pm EST

    Hi Ian,

    Currently, this is not possible with ActiveReportsJS v4.0.1 however, we are planning to release this as a feature in ActiveReportsJS v4.1.0.

    I would suggest you check once when ActiveReportsJS v4.1.0 is released. [ARJ-4830].



  • Posted 6 September 2023, 3:47 pm EST

    Has this now been fixed? I’ve downloaded the latest v4.1.0 version but I still can’t see how to change this to dd/mm/yyyy.

    Also, even if I change the date format to YYYY/MM/DD - it is still passed to a (graphql) query as MM/DD/YYYY HH:MM:SS.

  • Posted 10 September 2023, 5:37 pm EST

    Hi Paul,

    You can set the parameter’s Date format by setting the format in the Parameter’s ‘Format’ property (see attached image).

    However, please note this format only applies to the UI of the parameter and not to the reporting logic. To change the default date format in your report you can change the ‘Language’ property of your report to ‘English - United Kingdom’ (see attached image) and it will then use the DateTime format for the specified locale.

    Please find attached a sample report implementing the same.



Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels