[Zope-CMF] DateTime support for Norwegian dateformat?

Joachim Schmitz js@aixtraware.de
Fri, 21 Dec 2001 10:22:41 +0100


but beware of a bug-feature.


DateTime('13.1.2001') --> results correctly to 13-Jan-2001
but
DateTime('12.1.2001') --> results to 1-Dec-2001

and so do all others where the daydigits result in a valid month !!!!!


--On Donnerstag, Dezember 20, 2001 14:13:59 -0500 Andreas Jung=20
<andreas@zope.com> wrote:

> Zopes DateTime objects should be able to parse formats
> like 'dd.mm.yy' and 'dd.mm.YYYY' (tested and working
> with Zope 2.5 (and earlier version)).
>
> Andreas
>
>     ---------------------------------------------------------------------
>    -    Andreas Jung                            Zope Corporation       -
>   -   EMail: andreas@zope.com                http://www.zope.com      -
>  -  "Python Powered"                       http://www.python.org     -
>   -   "Makers of Zope"                       http://www.zope.org      -
>    -                  "Life is a fulltime occupation"                  -
>     ---------------------------------------------------------------------
>
> ----- Original Message -----
> From: "jkpikifi" <jkp@iki.fi>
> To: <Zope-CMF@zope.org>
> Sent: Thursday, December 20, 2001 14:01
> Subject: Re: [Zope-CMF] DateTime support for Norwegian dateformat?
>
>
>> Yes, I've done that, I think I have the patches somewhere.  If you
>> still need them, email me and I'll dig them up.  Or you could try
>> looking them up at the zope bug collecter, I think I've submitted them
>>  there.
>>
>> --- In zopeCMF@y..., Sigve Tjora <public@t...> wrote:
>> > Hi!
>> >
>> > Does anybody know if DateTime has support for Norwegian date-formats
>> like
>> > dd.mm.yy or dd.mm.YYYY?
>> >
>> > Is it possible to modify DateTime so the constructor accepts these
>> kind of
>> > formats ok?
>> >
>> > mvh Sigve Tjora
>> >
>> >
>> > _______________________________________________
>> > Zope-CMF maillist  -  Zope-CMF@z...
>> > http://lists.zope.org/mailman/listinfo/zope-cmf
>> >
>> > See http://www.zope.org/Products/PTK/Tracker for bug reports and
>> feature requests
>>
>>
>> _______________________________________________
>> Zope-CMF maillist  -  Zope-CMF@zope.org
>> http://lists.zope.org/mailman/listinfo/zope-cmf
>>
>> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests
>>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests



Mit freundlichen Gr=FC=DFen

Joachim Schmitz

AixtraWare, Ing. B=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163