[dev] Kronolith(Git) can't add event if I use 12h time format

Jan Schneider jan at horde.org
Tue Feb 22 16:21:27 UTC 2011


Zitat von Hiromi Kimura <hiromi at tac.tsukuba.ac.jp>:

> From: Jan Schneider <jan at horde.org>
> Subject: Re: [dev] Kronolith(Git) can't add event if I use 12h time format
> Date: Mon, 21 Feb 2011 11:56:34 +0100
>
>> Zitat von Hiromi Kimura <hiromi at tac.tsukuba.ac.jp>:
>>
>>> Hello,
>>> I can't add event to Kronolith(git) local calendar if I use 12h time
>>> format.
>>> 24h time format is OK.
>>> The warning says "You used an unknown time format ...".
>>
>> *Where* do you use the 12h time format, i.e. *how* do you create the
>> *event?
>
> Oh, I forget mention that I tested the dynamic view of Kronolith.
>
> I have tried to add event on some place of the Kronolith application window,
> "Add Event" button, time slot of daily or weekly view or a day of  
> monthly view.
> (1) click the button or slot of the view,
> (2) popup event dailog,
> (3) adjust start or end time by pulldown list,
> then, popup the yellow dialog, it says "You used an unknown time format...".

The fix it not that easy unfortunately. As the comment in Event.php  
clearly explains, this setlocale() call is necessary. Beside that, the  
js code you referenced is 3rd party library code.
It might make more sense to instead force the usage of the  
(untranslated) AM/PM across the code instead. Would that work for  
Japanese, or don't you use AM/PM at all?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list