From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14161 invoked by alias); 12 Mar 2002 23:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14126 invoked by uid 71); 12 Mar 2002 23:16:01 -0000 Date: Tue, 12 Mar 2002 15:16:00 -0000 Message-ID: <20020312231601.14125.qmail@sources.redhat.com> To: jsm28@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: dewar@gnat.com (Robert Dewar) Subject: Re: c/3190 Re: warning: `%y' yields only last 2 digits of year Reply-To: dewar@gnat.com (Robert Dewar) X-SW-Source: 2002-03/txt/msg00407.txt.bz2 List-Id: The following reply was made to PR c/3190; it has been noted by GNATS. From: dewar@gnat.com (Robert Dewar) To: dewar@gnat.com, jsm28@cam.ac.uk Cc: clock@atrey.karlin.mff.cuni.cz, gcc-gnats@gcc.gnu.org, gcc@gcc.gnu.org, geoffk@geoffk.org Subject: Re: c/3190 Re: warning: `%y' yields only last 2 digits of year Date: Tue, 12 Mar 2002 18:06:33 -0500 (EST) <> Wait a moment, you are obfuscating with irrelevancy here :-) I *specifically* talked about the date on a check (and given the spelling, I had in mind a US check, and not a british cheque). The interpretation of the date is quite unambiguous here, and I definitely do NOT suggest thgat you try to use the ISO format in that context. Actually I prefer in more general contexts to write something like Mar 16 '02 which is clear to all (of course in those very rare contexts where the century is not clear from context it is OK to use 2002). But all this irrelevant discussion has nothing to do with the warning. %y is a perfectly well defined, and useful function. it is reasonable to assume that anyone using this function knows what it does and means to use it. By the way, I have often filled out goverment forms that allowed precisely two digits for the year :-)