[midPoint] REL 3.3 Date represented using two digits

Radovan Semancik radovan.semancik at evolveum.com
Mon Dec 7 14:45:51 CET 2015


Hi Jens,

Thanks got a suggestion. It is probably somehow related to the locale 
date formats and it is definitely worth exploring. I have created jira 
for that:

https://jira.evolveum.com/browse/MID-2752

However, the plan for 3.4 release is becoming quite dense. Unless some 
subscriber or contributor makes this a priority I cannot guarantee that 
it will be part of 3.4 release.

-- 
Radovan Semancik
Software Architect
evolveum.com




On 12/07/2015 12:59 PM, Jens Breitenstein wrote:
> Hi All!
>
> Thanks for release 3.3 looks great. As I mentioned it before 
> concerning the 3.2 release I still need to change the years 
> representation from 2 digits to 4.
> As I never used Wicket before the only solution I found is to patch 
> the code directly by adding the method below to "DateInput.java".
>
>     @Override
>     protected DateTextField newDateTextField(String id, 
> PropertyModel<Date> dateFieldModel) {
>         return DateTextField.forDatePattern(id, dateFieldModel, 
> "dd.MM.yyyy");
>     }
>
>
> While this is sufficient for our requirements I wonder how we can make 
> this feature configurable and generally available as I want to avoid 
> manual code patches for every release?
>
>
> Thanks in advance
>
> Jens
>
>
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151207/ddb288db/attachment.htm>


More information about the midPoint mailing list