Re: How to get German date dd.MM.yyyy as default?
Lukasz Lenart <[email protected]> Mon, 22 Sep 2025 13:43:57 +0200
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkPHrMW+w1Fp1hQmGXTKVrvHKNPaBX75=fsDdi9Muq55HQ@mail.gmail.com> |
You can also specify "type" attribute as "date" but the formatting is browser dependent https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/= date pon., 22 wrz 2025 o 13:41 Lukasz Lenart <[email protected]> napisa=C5= =82(a): > > pon., 22 wrz 2025 o 10:33 Ute Kaiser <[email protected]> napisa=C5=82(= a): > > a struts(7) textfield on a date property displays as dd.MM.yy > > How can I force struts to use dd.MM.yyyy? > > By using a dedicated converter? There is no direct mechanism defining > a format of the field. > > > I set struts.date.format=3Ddd.MM.yyyy in my properties, but no effect. > > This only affects <s:date/> tag > > > Cheers > =C5=81ukasz