WebSite X5Help Center

 
Gabriel C.
Gabriel C.
User

Date format in blog is not correct for US  en

Auteur : Gabriel C.
Visité 1942, Followers 2, Partagé 0  

In the blog, the "Published by" information has the date incorrectly formatted for North America.

Published by xxx in xxx · 15/2/2015 12:00:00

I have already modified "date_format" in Language Content Management to reflect "[D] [M] [dd]  [yyyy]", but this has no effect on the blog where the date appears incorrect.

I would like the date to appear as Month/Day/Year and not as it appears Day/Month/Year.  This is very confusing.

Please implement this feature.

Posté le
3 RéPONSES
Serg Linds
Serg Linds
User

Gabriel, you must edit x5engine.php in %ProgramFiles%\WebSite X5 v11 - Professional\Res.

Found string return date("d/m/Y H:i:s", strtotime($ts));

Edit and save.

Upload project entirely.

Lire plus
Posté le de Serg Linds
Serg Linds
Serg Linds
User

Sorry. I'm not right. Date format is hardcoded in application. 

Lire plus
Posté le de Serg Linds
Gabriel C.
Gabriel C.
User
Auteur

There should be a way to vote up requests.   This way the users can have more input.  This might not be the most important feature reuqest, but backwards dates just look really bad no matter where you live.

Lire plus
Posté le de Gabriel C.