Report date format

Build and share your cool customized reports built w/ one sql, Chart.js and Lua

Moderator: Renato

Roberto
New User
Posts: 7
Joined: Mon Feb 19, 2024 10:35 am
Are you a spam bot?: No

Report date format

Post by Roberto »

Hi, I'd like to know if it's possible to change the Report date format (usually on top left of the report)
for example

from "2024-02-21" to "21-02-2024" or "21 Feb" or others

I think no from program settings, because there I've setted date type to dd-mm-yyyy and in report I still have yyyy-mm-dd, so probably is to work for every report into code
Roberto
New User
Posts: 7
Joined: Mon Feb 19, 2024 10:35 am
Are you a spam bot?: No

Re: Report date format

Post by Roberto »

An Update: looking in MMEX components I've found in "Resoconti" all reports with wanted date format, meanwhile in "Gestione resoconti" all Reports with unwanted date format. May be because my MMEX is Italian language version and in "Gestione resoconti" all reports are "international".
This tells that in "Gestione resoconti" is possible to change date format but ...how
Roberto
New User
Posts: 7
Joined: Mon Feb 19, 2024 10:35 am
Are you a spam bot?: No

Re: Report date format

Post by Roberto »

In the HTML model of the report (the code generated by program) there is:

<TMPL_VAR TODAY>

It's to see why this variable take the value in a different format from the specified date format in program settings; in built-in reports (reports not editables) date format is correct