gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] Minor bug in Demographics plugin - needs refresh of Id


From: Jim Busser
Subject: Re: [Gnumed-bugs] Minor bug in Demographics plugin - needs refresh of Identity pane (upper left) on updating
Date: Fri, 29 Jul 2011 17:51:07 -0700

This whole problem became apparent as a consequence of Postgres / GNUmed 
incorrectly parsing a Canadian date of 12 August 1984 which I had inputted as

        12-08-1984

in that Postgres/GNUmed failed to recognize in the third segment the 4 numerals 
(1984) and instead treating the string as representing

        yy-mm-dd

which explains how I ever got a future date in the first place:

        2012-08-19.

Here is the thing… if we say or understand the '-' to be reserved as always 
treated as [yy]yy-mm-dd and if instead I use a different separator '/' and 
input the same string with '/' as

        12/8/1984

then Postgres/GNUmed recognizes the 1984 as the year but goes on to make a 
*different* mistake, because it then applies the American interpretation as

        Dec 8 1984

despite my locale is en_CA and it should have been interpreted into 12 Aug 1984.

(same screenshot as last post:)

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]