[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-bugs] Re: Python does not support years below 1900 in formatting
From: |
Karsten Hilbert |
Subject: |
[Gnumed-bugs] Re: Python does not support years below 1900 in formatting |
Date: |
Mon, 13 Apr 2009 17:44:58 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Apr 13, 2009 at 08:32:05AM -0700, Jim Busser wrote:
> On 13-Apr-09, at 5:30 AM, Karsten Hilbert wrote:
>
>> Uh oh, there we go. This platform's Python does not support
>> years below 1900 in formatting :-((
>
> Does this mean all current GNUmed will break on patients whose year of
> birth is 1899 or less
None of the current GNUmed will break (by itself it handles
those years just fine) but all of the known-to-me Pythons
will break (which really is almost the same thing).
> One unhappy workaround would be to change the YOB to 1900 and to put the
> correct YOB in a cave...
Yes.
> is there any other workaround?
None I can think of offhand. Maybe put the correct year in
the identity comment(, too).
One workaround is to
try:
except:
all datetime formatting in the client but that's rather
impractical given the gazillion places we (need to) do so.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346