Jump to content


Photo
- - - - -

Dates should be localised


  • Please log in to reply
7 replies to this topic

#1 Arnie

Arnie

    IPB Full Member

  • +Clients
  • 104 posts

Posted 17 August 2011 - 04:13 AM

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)
Screenshot_1.jpg
  • martin-al, Ikadon and paulnwb like this

#2 martin-al

martin-al

    Advanced Member

  • Members
  • PipPipPipPip
  • 382 posts

Posted 17 August 2011 - 04:49 AM

Agree on this one.
I run a norwegian board, witch we also are using DD/MM/YYYY-format.

:)
  • DawPi likes this

#3 paulnwb

paulnwb

    IPB Full Member

  • Members
  • PipPipPip
  • 150 posts

Posted 17 August 2011 - 04:52 AM

Yup, me like Posted Image

#4 Arnie

Arnie

    IPB Full Member

  • +Clients
  • 104 posts

Posted 17 August 2011 - 04:59 AM

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.

#5 Silver

Silver

    IPB Newbie

  • +Clients
  • 49 posts

Posted 17 August 2011 - 05:51 AM

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'.

#6 bfarber

bfarber

    RBT-KS

  • IPS Management
  • 28,561 posts

Posted 17 August 2011 - 09:10 AM

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?

Brandon Farber
Development Manager / Senior Support

If it sounds like fun, it's not allowed on the bus!

php5_zce_logo_new.gif     

Invision Power Services, Inc.


#7 Arnie

Arnie

    IPB Full Member

  • +Clients
  • 104 posts

Posted 17 August 2011 - 01:54 PM

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?

#8 Millipede

Millipede

    Advanced Member

  • +Clients
  • 343 posts

Posted 18 August 2011 - 06:53 AM

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.

IP.Board 3.3.4 --- IP.Blog 2.6.0 --- Calendar 3.3.2





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users