Jump to content

Change date format (DD/MM/YY)


#ESY

Recommended Posts

Posted

Currently, it looks like this (MM/DD/YY): 

WDqxKOl.png

 

But I want to change that to DD/MM/YY. I tried translating the language but it didn't work. I don't know if I translated the correct parts. I changed _date_last_year_short and _date_this_year_short to look like this {0#} {!1#[1:Jan][2:Feb][3:Mar][4:Apr][5:May][6:Jun][7:Jul][8:Aug][9:Sep][10:Oct][11:Nov][12:Dec]}, but it's not working.

Posted

Hmm ... that works on my site.

Or maybe it isn't working and I just think it does because I also have this plugin that Mark made:

Then I have the plugin format set to %d/%m/%Y.

Your locale should be deciding this for you, though. That looks like you're using English, so I presume it's the default. Have you tried using en_GB instead of en_US?

Posted
15 minutes ago, Meddysong said:

Hmm ... that works on my site.

Or maybe it isn't working and I just think it does because I also have this plugin that Mark made:

Then I have the plugin format set to %d/%m/%Y.

Your locale should be deciding this for you, though. That looks like you're using English, so I presume it's the default. Have you tried using en_GB instead of en_US?

I changed my locale to English (United Kingdom) and it worked! Thank you very much!

  • 3 months later...
Posted

This locale thing probably needs to be set during any upgrade. My had defaulted to USA when I'm in Australia and I had no idea it was screwing with the data formats on my forum topics.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...