Date formatting in Bandwidth Notification email

T

terraGirl

Guest
I'm looking to modify the "Bandwidth User notification message" as per https://documentation.cpanel.net/display/ALD/Notification+Templates , but I'm unsure how the data formatting works.

I want to change MM/DD/YYYY to DD/MM/YYY. The line is:

<li>[% CPANEL.locale.maketext('The account “[_1]” with primary domain “[_2]” is expected to reach its bandwidth limit on [datetime,_3,date_format_short].', NOTICE.user, NOTICE.user_domain, NOTICE.date_exceeded); %]</li>

Is there any guidance available how I can change the date format?

Many thanks!
 
T

terraGirl

Guest
cPanel support have come back via email and the solution is:

===
As the template indicates, cPanel uses the locale settings to populate this notice, so what you'll need to do is edit the locale:

https://documentation.cpanel.net/display/ALD/Edit+a+Locale

Note that if they're using Paper Lantern then they *must* use the Bulk Mode editor for this. The "CNTMMDDYY" key should be the one that they want to change.
===

Very easy via WHM once I knew where to look & which variable to amend :)