WebSite X5 Help Center  - The date format in the Blog is not correct

WebSite X5Help Center

 
Gabriel C.
Gabriel C.
User

The date format in the Blog is not correct  en

Autor: Gabriel C.
Visitado 1839, Followers 1, Compartido 0  

In the blog, the Published by information has the date incorrectly formatted.

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.

How is this done?

Publicado en
5 RESPUESTAS - 1 ÚTIL
Anthony A.
Anthony A.
User

you are correct, I changed it inside my program as well, when you create the post, shows the right format inside the program, but if you click on the preview it will show the same old format. it is not wrong, but in this part of the world (south and north america) we use [M] [dd]  [yyyy] format.

after you published your website go to folder name res and find the file X5engine.js, open it with wordpad or inside your server open it with text editor, and change the format over there see if it works.

also if you already have post and that did not change the format of your old posts, you need to change the time stamp inside onther file which you can find it inside blog/x5blog.js

and search for timestamp

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck

Leer más
Publicado en de Anthony A.
Gabriel C.
Gabriel C.
User
Autor

Anthony,

I was unable to find timestamp in x5engine.js or anything that might change the date format so perhaps you can be more specific.

I updated all of the timestamps in blog/x5blog.js and this had no apparent effect.

I did find that if I manually change blog.inc.php, the changes would appear, but all of them would revert if I make any changes to the blog.  This solution will not work for me as I try to update the blog on a daily bassis and I would have to manually modify the files each time.

Any other ideas?  I know that you said this is "not wrong", but it really should be fixed.

Gabe

Leer más
Publicado en de Gabriel C.
Anthony A.
Anthony A.
User

Gabriel, I suggest you to open an Idea post and let the Incomedia developers know about this issue.

------------------------------------------------------------

Good Luck

Leer más
Publicado en de Anthony A.
Gabriel C.
Gabriel C.
User
Autor

Do they even read those things?  I have never gotten any response on any idea post, good or bad.

Leer más
Publicado en de Gabriel C.
Anthony A.
Anthony A.
User

lol, we hope for the best

Leer más
Publicado en de Anthony A.