cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I control the Date/Time format when CAS Task Scheduler - SaveReportCommand

keith_young
Newcomer

When the report in rendered via CAS GUI; the date/time conforms to the Custom Setting applied; but when the report is generated via TaskSheduler the data/time presents as a US format mm/dd/yy hh:mm.

The DC RUM environment is located in AU and all setting are for this locale!

Is there any way to enforce the Task Scheduler to write the data/time output in AU format dd/mm/yy hh:mm

1 REPLY 1

keith_young
Newcomer

I have found that far better control is enabled when using:

<class>SaveDmiReportCommand</class>

with the following settings:

<param name="format">txt</param>
<param name="timeFormat">HH:mm</param>
<param name="dateFormat">yyyy/MM/dd</param>
<param name="locale">en_AU</param>

The Saved report now honours the DMI template settings.