Change "Public Date/Time" to DD/MM/YYYY

Permalink
Hi

How can I change the Public Date/Time when editing/adding a page to by DD/MM/YYYY and not the US version of MM/DD/YYYY ?

Thanks
Jake

BinaryFold4
 
Mnkras replied on at Permalink Reply
Mnkras
try changing these values and stick them in the site.php

define('DATE_APP_GENERIC_MDYT_FULL', t('F d, Y \a\t g:i A'));
   define('DATE_APP_GENERIC_MDYT', t('n/j/Y \a\t g:i A'));
   define('DATE_APP_GENERIC_MDY', 'Y-m-d');
   define('DATE_APP_GENERIC_MDY', t('n/j/Y'));
   define('DATE_APP_GENERIC_MDY_FULL', t('F d, Y'));
   define('DATE_APP_GENERIC_T', t('g:i A'));
   define('DATE_APP_GENERIC_TS', t('g:i:s A'));
   define('DATE_APP_FILENAME', t('d-m-Y_H:i_'));
BinaryFold4 replied on at Permalink Reply
BinaryFold4
Thanks, I had tried that before from another post.

It is only now that I see that all the dates are in fact wrong for DD/MM/YYYY - I have corrected that and it seems to be better. Although this isn't used everywhere.

For example, the jQuery datepicker is still incorrect. Any ideas on how to neatly configure that?