WebSite X5Help Center

 
Gabriel C.
Gabriel C.
User

Date format in blog is not correct for US  en

Autor: Gabriel C.
Visitado 1943, Followers 2, Compartido 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.

Publicado en
3 RESPUESTAS
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.

Leer más
Publicado en de Serg Linds
Serg Linds
Serg Linds
User

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

Leer más
Publicado en de Serg Linds
Gabriel C.
Gabriel C.
User
Autor

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.

Leer más
Publicado en de Gabriel C.