[kronolith] Event creation - date format.

Jan Schneider jan at horde.org
Tue Sep 3 07:59:42 UTC 2013


Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:

> ----- Message from Jan Schneider <jan at horde.org> ---------
>    Date: Mon, 02 Sep 2013 15:35:37 +0200
>    From: Jan Schneider <jan at horde.org>
> Subject: Re: [kronolith] Event creation - date format.
>      To: kronolith at lists.horde.org
>
>> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>>
>>> Dear List,
>>>
>>> When I trying to create a new event, the dateformat used is MM/DD/YYYY,
>>> where as in Horde Configuration, I have fixed the date format as
>>> 'DD/MM/YYYY'.
>>
>> The dynamic interface uses your locale's date format.
>>
>>> Is timezone a preference option.  I did not see it in kronolith
> config. 
>>> But, I have already set the timezone in horde config? Whether kronolith
>>> should have used the same setting?
>>
>> Look closer. It's a global pref.
>> --
>> Jan Schneider
>> The Horde Project
>> http://www.horde.org/
>>
>> --
>> kronolith mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQTo unsubscribe,
>> mail: kronolith-unsubscribe at lists.horde.org
>
> ----- End message from Jan Schneider <jan at horde.org> -----
>
> Following is the horde/prefs.local.php
>
> <?php
> $_prefs['from_addr']['hook'] = true;
> $_prefs['from_addr']['locked'] = true;
> $_prefs['location']['locked'] = true;
> $_prefs['language']['value'] = 'en_US';
> $_prefs['language']['locked'] = true;
> $_prefs['sending_charset']['value'] = 'UTF-8';
> $_prefs['sending_charset']['locked'] = true;
> $_PREFS['TIMEZONE']['VALUE'] = 'ASIA/KOLKATA';
> $_prefs['timezone']['locked'] = true;
> $_prefs['twentyFour']['value'] = false;
> $_prefs['twentyFour']['locked'] = true;
> $_PREFS['DATE_FORMAT']['VALUE'] = '%D/%M/%Y';
> $_PREFS['DATE_FORMAT']['LOCKED'] = TRUE;
> $_PREFS['DATE_FORMAT_MINI']['VALUE'] = '%D/%M/%Y';
> $_PREFS['DATE_FORMAT_MINI']['LOCKED'] = TRUE;
> $_prefs['time_format']['value'] = '%X';
> $_prefs['time_format']['locked'] = true;
> $_prefs['first_week_day']['value'] = '0';
> $_prefs['first_week_day']['locked'] = true;
> $_prefs['initial_application']['locked'] = true;
> $_prefs['initial_application']['value'] = 'horde';
> $prefGroups['syncml']['suppress'] = true;
> $prefGroups['forgotpass']['suppress'] = true;
>
> As you see above, I have already set date_format in Horde.  Then why
> Kronolith should not use the same dateformat?  In India date format is
> DD/MM/YYYY.

If you really want to know, read the code.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the kronolith mailing list