Jump to content

Dates should be localised


Arnie

Recommended Posts

Posted

We run a UK board, so it'd be nice if we had the option for all date acronyms in the boards to follow the European format of DD/MM/YYYY when the board is localised.

I know it's a minor niggle but this happens in quite a few places across the board (example attached from [forum]index.php?app=forums&module=post&section=post&do=new_post)
post-60096-0-21977400-1313572278_thumb.j

Posted

I gather that the dates may be set based on the language pack. Which is nice, but I can't find an EU or UK language pack, or an SDK on writing a new language pack for me and to share with others.

Posted

MM/DD/YYYY HH:MM (mod_date_format & mod_time_format) can be found in forums/public_post a part of language pack. Date format is one of the 'Settings: Calendar & Birthdays'.

Posted

Just to clarify, you cannot simply change the language string for that field to change how it works - that date has to be parsed on the backend, so it has to be in an expected format. It would require backend changes to honor a DD/MM/YYYY format.

The only areas I know of that this occurs is when posting a new topic, and a few small places in Calendar (which is completely controlled by your locale specified on your language pack, so you can change this for Calendar already by editing your language pack and using en_GB (or similar) instead of en_US). Are there any other places?

Posted

If I see them I'll note them.

Is there an en_GB or UK/British language pack? If not is there some sort of guide to building your own?

Posted

Are there any other places?



RSS for the Calendar. The date for an event is correct, ie: 04 July 2011 01:00, but the date at the end of the RSS entry is 7/4/2011. As we're using RSS to post calendar events to a forum, it's making it impossible for people to know what the correct date is if the person posting the event doesn't enter the event date in their text. This is in 3.1.4 by the way.

Archived

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

  • Recently Browsing   0 members

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