Re: [Trac] custom field due_date with datefield plugin after upgrade to Trac 1.6
Ales Horak <[email protected]> Sat, 4 Oct 2025 06:00:49 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_82886_253752711.1759582849222 Content-Type: multipart/alternative; boundary="----=_Part_82887_1796276462.1759582849222" ------=_Part_82887_1796276462.1759582849222 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable thank you, I have tried setting the `environ` value, but it did not help. finally, the problem was in the Ubuntu 24.04 Trac package, which is missing= =20 the file=20 `/usr/lib/python3/dist-packages/trac/htdocs/js/jquery-ui-i18n.js`. without= =20 it, the datepicker ignores the current locale. I have also found out that the problem has already been reported, including its workaround, as described in this bug report=20 <https://bugs.launchpad.net/ubuntu/+source/trac/+bug/2095564>, but not=20 fixed in this LTS version. Dne =C4=8Dtvrtek 2. =C5=99=C3=ADjna 2025 v 11:03:49 UTC+2 u=C5=BEivatel Hol= ger Bruenjes napsal: > Hallo > > Am 01.10.25 um 15:57 schrieb Ales Horak: > > > After upgrade to Trac 1.6, the custom field works ok, but the calendar > > widget trac-datepicker does not follow the datefield settings and works > > with dates in the format of 10/29/1999, week start on Sunday. > >=20 > > How can I change the trac calendar widget format to the original=20 > datefield > > settings? > > I dont now is that correct for you > > I set as locale in the .wsgi Script too > > environ['trac.locale'] =3D 'de_DE.utf8' > > that worked for me > > Holger > --=20 You received this message because you are subscribed to the Google Groups "= Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/= 2744c049-aba3-444c-bebc-7d10946f2af5n%40googlegroups.com. ------=_Part_82887_1796276462.1759582849222 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable thank you, I have tried setting the `environ` value, but it did not help.<d= iv><br /></div><div>finally, the problem was in the Ubuntu 24.04 Trac packa= ge, which is missing the file=C2=A0</div><div>`/usr/lib/python3/dist-packag= es/trac/htdocs/js/jquery-ui-i18n.js`. without it, the</div><div>datepicker = ignores the current locale.</div><div><br /></div><div>I have also found ou= t that the problem has already been reported, including</div><div>its worka= round, as described in this <a href=3D"https://bugs.launchpad.net/ubuntu/+s= ource/trac/+bug/2095564">bug report</a>, but not fixed in this LTS version.= </div><div><br /><br /></div><div class=3D"gmail_quote"><div dir=3D"auto" c= lass=3D"gmail_attr">Dne =C4=8Dtvrtek 2. =C5=99=C3=ADjna 2025=C2=A0v=C2=A011= :03:49 UTC+2 u=C5=BEivatel Holger Bruenjes napsal:<br/></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rg= b(204, 204, 204); padding-left: 1ex;">Hallo <br> <br>Am 01.10.25 um 15:57 schrieb Ales Horak: <br> <br>> After upgrade to Trac 1.6, the custom field works ok, but the cale= ndar <br>> widget trac-datepicker does not follow the datefield settings and = works <br>> with dates in the format of 10/29/1999, week start on Sunday. <br>>=20 <br>> How can I change the trac calendar widget format to the original d= atefield <br>> settings? <br> <br>I dont now is that correct for you <br> <br>I set as locale in the .wsgi Script too <br> <br> environ['trac.locale'] =3D 'de_DE.utf8' <br> <br>that worked for me <br> <br>Holger <br></blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Trac Users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use= rs+unsubscribe-/[email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= trac-users/2744c049-aba3-444c-bebc-7d10946f2af5n%40googlegroups.com?utm_med= ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/trac-use= rs/2744c049-aba3-444c-bebc-7d10946f2af5n%40googlegroups.com</a>.<br /> ------=_Part_82887_1796276462.1759582849222-- ------=_Part_82886_253752711.1759582849222--