WebSite X5Help Center

 
Gabriel C.
Gabriel C.
User

Date format in blog is not correct for US  en

Author: Gabriel C.
Visited 1966, Followers 2, Shared 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.

Posted on the
3 ANSWERS
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.

Read more
Posted on the from Serg Linds
Serg Linds
Serg Linds
User

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

Read more
Posted on the from Serg Linds
Gabriel C.
Gabriel C.
User
Author

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.

Read more
Posted on the from Gabriel C.