WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change language date

[Resolved] Change language date

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author aerin
    Participant

    @aerin

    The plugin uses the date() function and extracts the to DMY. There is a php function called setlocale() which I should be able to use. This allows you to set your country code.

    I shall have a play tomorrow. Not sure about adding a drop down or just adding a link to the ISO list of country codes.

    Expect V1.2 very soon

    Plugin Author aerin
    Participant

    @aerin

    I’ve added the function to my test site but I’ve only got the en_EN locale installed on my server.

    Guido, can you email me so I can send you the test code to find out if it works locally for you. Email is graham at aerin.co.uk

    Plugin Author aerin
    Participant

    @aerin

    All sorted. The date icon will now display the date in your server locale. If you are in India and use cheap hosting in the USA then you will se US dates. But if you host locally (as you should) then all will be OK.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Change language date’ is closed to new replies.