Author Topic: date format bug (ficha :-) ) ?  (Read 6001 times)

s0me0ne

  • Newbie
  • *
  • Posts: 8
    • View Profile
date format bug (ficha :-) ) ?
« on: January 26, 2009, 01:08:23 PM »
Is it available to change a view of date-time, from European standard to Russian -

without a bug that appears on adding any events in calendar (it sets a wrong time of start event) ?

From (month/day/year) to (day/month/year)

from

to

version 1.1 english
thanks ;-)
« Last Edit: January 26, 2009, 01:12:48 PM by s0me0ne »

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: date format bug (ficha :-) ) ?
« Reply #1 on: January 26, 2009, 01:58:07 PM »
Hi

to change the date format to 'dd/mm/yyyy' you have to edit the language files langs.js and general.php and change this values to:
- langs.js
   'date format': 'd/m/Y',
   'date format alternatives': 'd/m/y|j/n/Y|j/n/y|j/m/y|d/n/y|j/m/Y|d/n/Y',
- general.php
   'date format' => 'd/m/Y',
   'date format description' => '(dd/mm/yyyy)',

this also fixes the bug that puts the event in a wrong date when it is added after changing the format.
« Last Edit: January 26, 2009, 01:59:41 PM by alvarotm01 »

s0me0ne

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: date format bug (ficha :-) ) ?
« Reply #2 on: January 27, 2009, 12:36:44 PM »
Did like u said BUT it doesn't work (when I set “start event” time for today – it sets for three years ahead).


thanks .

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: date format bug (ficha :-) ) ?
« Reply #3 on: January 27, 2009, 04:10:41 PM »

Did you refreshed the page after doing the changes?
Refresh is necesary since one of the changes is in a .js file and must be reloaded.

I reproduced the error and doing what i said before it was fixed.

try reloading Opengoo, and if that bug keeps happening, tell me again.

werner.wuerfel

  • Sr. Member
  • ****
  • Posts: 319
    • View Profile
Re: date format bug (ficha :-) ) ?
« Reply #4 on: January 28, 2009, 04:56:35 AM »
Hi alvarotm01,

the changes in langs.js and general.php will work.

Now I see in the calendar in the day view the following:

Mittwoch 28, Januar 2009

Where can I change the comma after the 28 in a point? Is this possible?

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
Re: date format bug (ficha :-) ) ?
« Reply #5 on: January 28, 2009, 06:53:29 AM »
Yes, it's obviously a bug. It should have the format "Mittwoch, 28.01.2008".

Arthur Mullard

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: date format bug (ficha :-) ) ?
« Reply #6 on: March 26, 2009, 06:49:49 AM »
Would be great to be able to control this in Administration.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: date format bug (ficha :-) ) ?
« Reply #7 on: March 27, 2009, 10:06:48 AM »
Yes, maybe it should be a user config option.

 

anything