From owner-freebsd-questions Thu Apr 11 4:34:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id B291137B419 for ; Thu, 11 Apr 2002 04:34:03 -0700 (PDT) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g3BBXxp27069; Thu, 11 Apr 2002 13:34:00 +0200 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.9a) with ESMTP id 2002041113331664:45 ; Thu, 11 Apr 2002 13:33:16 +0200 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g3BBnKY91341; Thu, 11 Apr 2002 13:49:20 +0200 (CEST) (envelope-from neuhauser@mail.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mail.cz using -f Date: Thu, 11 Apr 2002 13:49:20 +0200 From: Roman Neuhauser To: Jan Grant Cc: johann@broadpark.no, questions Subject: Re: FreeBSD weirdness -- why does things have to be like this? Message-ID: <20020411114920.GQ12083@roman.mobil.cz> Mail-Followup-To: Jan Grant , johann@broadpark.no, questions References: <20020410143605.GX12083@roman.mobil.cz> Mime-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.9a |January 7, 2002) at 04/11/2002 01:33:16 PM, Serialize by Router on ester/Mobil(Release 5.0.9a |January 7, 2002) at 04/11/2002 01:33:23 PM, Serialize complete at 04/11/2002 01:33:23 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Thu, 11 Apr 2002 11:45:27 +0100 (BST) > From: Jan Grant > To: Roman Neuhauser > Cc: johann@broadpark.no, questions > Subject: Re: FreeBSD weirdness -- why does things have to be like this? > > On Wed, 10 Apr 2002, Roman Neuhauser wrote: > > > Nope. The second example is bogus. Watch this: > > `Wed Apr 10 14:43:16 CEST 2002' > > `Tue Apr 9 14:43:16 CEST 2002' > > Now, if only I could recall the ISO number this obeys. > > I'd be very surprised if there was one; ISO 8806 is the standard format; > conforming date/time representations don't look anything like this. You probably mean 8601, but you're right. The format returned by date(1) is similar to the RFC 822 format, and is the same on RedHat (at least). Anyway, what I was trying to point out is that the string returned by date(1) has two spaces between the month abbr and the day of month, when day of month is less than 10, to preserve the length and alignment of the string. `Wed Apr 10 14:43:16 CEST 2002' `Tue Apr 9 14:43:16 CEST 2002' IOW, the whitespace is not 'spurious' or what the original poster said. -- FreeBSD 4.4-STABLE 1:41PM up 17 days, 20:27, 25 users, load averages: 0.11, 0.05, 0.01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message