Received: from usco.de (unknown [195.206.128.74]) by postgresql.org (Postfix) with ESMTP id DF7E2475892 for ; Sun, 14 Apr 2002 14:04:55 -0400 (EDT) Received: from ThisAddressDoesNotExist [212.221.222.107] by usco.de with Novonyx SMTP Server $Revision: 2.75.1.9 $; Sun, 14 Apr 2002 20:10:55 +0200 (ECTD) Date: Sun, 14 Apr 2002 20:04:29 +0200 Subject: Re: Wrong date inserts Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) From: Egon Reetz To: pgsql-admin Content-Transfer-Encoding: 7bit In-Reply-To: <22185.1018803998@sss.pgh.pa.us> Message-Id: <1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de> X-Mailer: Apple Mail (2.481) X-Archive-Number: 200204/113 X-Sequence-Number: 4001 Well, will look forward to find something about DateStyle, but shouldn't both dates handled equally. Same input format should result into the same result, shouldn't it? Regards Egon Am Sonntag den, 14. April 2002, um 19:06, schrieb Tom Lane: > Egon Reetz writes: >> It looks like day and month are exchanged, when the day is less or >> equal >> 12. > > Sounds like you should change DateStyle to tell the truth about the date > format you are using. The system has to rely on that when the field > values don't make it obvious which component is which. > > Looks like you want 'German' datestyle for this input. > > regards, tom lane >