Date format in CMSB

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 25, 2016   (RSS)

By Toledoh - November 23, 2016

Hi Guys.

A client wants to display records in the admin with the Day format, rather than just number.  I know it's a hack, but is there any issue in editing lib/menu/default/list_functions.php from

if     ($dayMonthOrder == 'dmy') { $dateFormat = "jS M, Y" . $timeFormat; }

to

if     ($dayMonthOrder == 'dmy') { $dateFormat = "D jS M, Y" . $timeFormat; }

Cheers,

Tim (toledoh.com.au)

By Damon - November 25, 2016

Hi Tim,

That works and won't cause any other issues. Thanks for sharing.

Add it to a list of customizations for that CMS Builder installation so if you upgrade CMS Builder in the future, you can make the same edits again.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/