Hi Jürgen, can you sent your changes to the mailing-list. I have the same problem, but no solution. Thanks, Dirk "Juergen R. Plasser / Hexagon" schrieb:
I just realized that my problems is located in the DateTime.py. I patched some lines of source and my problem was solved, thanx to OSS!
Juergen
--On Mittwoch, 03. Juli 2002 13:54 +0200 "Juergen R. Plasser / Hexagon" <plasser@hexagon.at> wrote:
Hello!
I recently asked the same question in the german Zope mailing list zope-de@yahoogroups.de but did not get any answers. Maybe someone can help me here.
How can I force Zope to accept german date format (dd.mm.yyyy) in an input field?
If I enter 13.07.2002, the field becomes 2002/07/13 correctly (clear, there isn't 13th month), however, when I enter 12.07.2002, Zope makes 2002/12/07. When I enter an invalid date like 31.02.2002 (2002/02/31) Zope hangs and does not response (browser never get's ready). I use Zope 2.5.1 with Python 2.1.3 on a linux2 box.
I already tried the command line parameter -L "de_DE", but without success.
The problem appears when I preset the value of a date property with the german date format like this:
<input type="text" name="Datum:date" size="35" value="<dtml-var ZopeTime fmt="%d.%m.%Y %H:%M">">
Any hints?
Regards, Juergen
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Mit freundlichen Grüßen, DI Jürgen R. Plasser Gesellschafter
plasser@hexagon.at Tel.: +43 / 732 / 640 530 DW 40
HEXAGON EDV-Dienstleistungen Hosiner OEG A-4221 Steyregg Weissenwolffstraße 14 Tel.: +43 / 732 / 640 530 Fax: +43 / 732 / 640 530 - 20 http://www.hexagon.at info@hexagon.at
Bankverbindung: Allg. Sparkasse OÖ, BLZ: 20320, Kto.-Nr.: 1900003623 Firmenbuchnummer: FN 167631t Firmenbuchgericht: Handelsgericht Linz
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )