Change editor display of updatedDate field

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 14, 2009   (RSS)

By avrom - September 11, 2009

For the updatedDate field in the editor (V 1.34 beta2) would like to remove the time stamp. So instead of seeing:

Last Updated
2009-09-11 20:15:56

Would see:

Last Updated
2009-09-11

Realize this will be updated in upgrades as well ^^ :))

Cheers
Avrom

Re: [virgodesign] Change editor display of updatedDate field

By Dave - September 14, 2009

Hi Avrom,

There's no built in support for that yet.

But if you want to change it yourself here's how:
- open /cmsAdmin/lib/menus/default/edit_functions.php
- search for $dateFormat
- remove " - h:i:s A"

The date formatting codes can be found here: http://www.php.net/date

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com