Re: DateTimeField and zero padding hours

2008-04-15 Thread Charlie Dobbie
I'm playing with the DateTimeField at the moment, and if I set the time to midnight I get 0 for hours and 00 for minutes. It makes sense to me to pad minutes out to two digits. Hours should arguably be padded out to two digits if you're in 24-hour mode, but the component doesn't do that at the

Re: DateTimeField and zero padding hours

2008-04-15 Thread Federico Fanton
On Tue, 15 Apr 2008 08:59:44 +0200 Johan Compagner [EMAIL PROTECTED] wrote: I dont know exatly dont see an example here, but i just guess you dont comply completely with the format and then the formatter just tries to interperd it. Problem found, Wicket is using my custom converter for

Re: DateTimeField and zero padding hours

2008-04-12 Thread Johan Compagner
I guess this has something to do with the format string that is used for your locale, just look int what dateformat is used in your case On 4/11/08, Federico Fanton [EMAIL PROTECTED] wrote: Hi everyone! Just a quick question.. If I type inside a DateTimeField a 0 in the hours and minutes

DateTimeField and zero padding hours

2008-04-11 Thread Federico Fanton
Hi everyone! Just a quick question.. If I type inside a DateTimeField a 0 in the hours and minutes field, on submit the minutes field is padded to 00, while the hours field becomes blank.. Is this an intended behavior? I'm using Wicket 1.3.3.. Thanks for your time!