Author Topic: Calendar problem in ru_ru locale  (Read 5126 times)

dmbaturin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Calendar problem in ru_ru locale
« on: March 15, 2009, 01:10:29 pm »
I'm using OpenGoo 1.3 rc1 with russian (ru_ru) locale.
When I create events in Calendar I see a message telling that event was succesfully created, but  created events actually are not displayed.
If I switch locale to en_us everything with creating events is OK, and after switching back to ru_ru created events are still displayed.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Calendar problem in ru_ru locale
« Reply #1 on: March 16, 2009, 03:15:03 pm »

autumn.peak

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Calendar problem in ru_ru locale
« Reply #2 on: March 17, 2009, 08:44:50 am »
Hi,I guess your event is successed created,but create_time error,too larger or smaller.
it reason may be you Language Time Format it not matched for system.
check the file: opengoo/language/ru_ru/lang.js ,in lines:407

change line
FROM:
'date format': 'd/m/Y',
TO:
'date format': 'm/d/Y',

Then Reload the Page .

dmbaturin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Calendar problem in ru_ru locale
« Reply #3 on: March 18, 2009, 03:55:49 am »
>change line
>FROM:
>'date format': 'd/m/Y',
>TO:
>'date format': 'm/d/Y',
Yes, it works. But it's still a bug of i18n, different countries uses different date formats and it should
be supported.

> http://forums.opengoo.org/index.php?topic=1187.msg4686#msg4686
I tried it ans it was not helpful.
« Last Edit: March 18, 2009, 04:17:19 am by dmbaturin »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Calendar problem in ru_ru locale
« Reply #4 on: March 19, 2009, 10:48:30 am »
What date format are you using in your localization files? I usually use d/m/Y and it works fine for me.