Michiel Meeuwissen <[EMAIL PROTECTED]> wrote
>
>
> Ok, I've done so now. Because I was listening to Kees also, who is
occupied
> with the mm:time tag, which is for similar purposes, I generalized the
code,
> and you can format times now using the same syntax as mm:time (So the
> datepattern argument of editwizards can now besides SimpleDateFormat
strings
> also be constants like :FULL, :SHORT, and 'e').
>
> The default datepattern is now :LONG.SHORT which is d MMMM yyyy HH:mm for
> dutch. The advantage is that interpunction now is localized too (for
example
> I think that for german it should be d MMMM yyyy HH.mm and not -HH:mm).
>
May be you did this already, but I think it would be better if the time
formatting code is only at one place, now there is code at three places: for
the Editwizard it is in DateFormat.java of MMBase and Wizard.java of
Editwizard. Also I am not sure if the Editwizard handles timezones in the
same way as in mm:time.

Martijn Houtman


Reply via email to