aiui, the far east even has a 26 or 27 hour clock. Mostly to denote
closing times of bars: so instead of saying closed at 2am, they say
closed at 26:00.

That said, 24:00 is uncommon in the Netherlands and the rest of Europe I think.

Martijn

On Wed, Aug 20, 2008 at 11:10 PM, jnorris <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Forget what I said before - I was convinced by a colleague that the hour
> range was wrong when in fact it isn't wrong for the 12-hour range which has
> the AM/PM.  I'm not sure that the 24-hour range should allow an hour of 24
> to be entered but I'm not too familiar with how people use a 24 hour clock.
>
> Jim
>
>
> jnorris wrote:
>>
>> The DateTimeField validation message for hours for a 12-hour format
>> indicates that the date must be between 0 and 12.  Shouldn't this be
>> between 1 and 12?  The validator has the following:
>>
>> protected Map variablesMap(IValidatable validatable)
>> {
>>       final Map map = super.variablesMap(validatable);
>>       map.put("minimum", new Long(0));
>>       map.put("maximum", new Long(getMaximumHours()));
>>       return map;
>> }
>>
>> Shouldn't the minimum setting be 1 instead of 0 or am I missing something?
>>
>> Jim
>>
>
> --
> View this message in context: 
> http://www.nabble.com/DateTimeField-validation-tp19077792p19078120.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to