This topic was marked solved by its starter, on February 27th, 2014, 05:09 AM
Date format is incorrect

txcas

  • Bug Zapper
  • Posts: 202
Date format is incorrect
« on January 31st, 2014, 04:21 AM »
Using English US as the language, the date format under Recent Posts is DD/MM when it should be MM/DD.

Re: Date format is incorrect
« Reply #1, on January 31st, 2014, 04:35 AM »
I changed this is the Home.template.php and it fixed the date format.

Code: [Select]
<div>', strftime('%m/%d %H:%M', $post['timestamp']), '<br>', $post['poster']

MultiformeIngegno

  • Posts: 1,337
Re: Date format is incorrect
« Reply #2, on January 31st, 2014, 09:13 AM »
This is a Europeans driven project so it's correct even in us English!!!!! Joking :P

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: Date format is incorrect
« Reply #3, on February 25th, 2014, 07:45 PM »
So... What do I do? Looks like the alternative isn't popular.

agent47

  • Now I see the changes you're talking about.
  • Posts: 115

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Date format is incorrect
« Reply #5, on February 25th, 2014, 08:19 PM »
OK with me too. How about Feb 25th instead, if 'February' is too long?

txcas

  • Bug Zapper
  • Posts: 202
Re: Date format is incorrect
« Reply #6, on February 26th, 2014, 06:02 PM »
IMHO, whatever format is chosen should be the same on the Recent Posts and Thoughts areas.

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: Date format is incorrect
« Reply #7, on February 26th, 2014, 10:56 PM »
In French, the date format doesn't really matter, because it's likely the 'Today at..' will be longer anyway, as it's "Aujourd'hui à...", which is quite long. Also, if Lorenzo posted the last message in a topic, it'll also make the first column longer, because of his very long username... :P

Anyway, yeah, that was the idea, trying to harmonize the topic list with the thought list. I'm not a big fan of the result, though, I may end up moving the user names elsewhere.

MultiformeIngegno

  • Posts: 1,337

Nao

  • Dadman with a boy
  • Posts: 16,063