delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/16/06:46:10

Message-ID: <001201c07fb1$e2dc4800$fb61893e@oemcomputer>
From: "Stephen Silver" <djgpp AT argentum DOT freeserve DOT co DOT uk>
To: <djgpp-workers AT delorie DOT com>
Subject: Re: strftime patch
Date: Tue, 16 Jan 2001 11:45:52 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:

> On Sun, 14 Jan 2001, Jason Green wrote:

> >        [#7]  In  the  "C" locale, the E and O modifiers are ignored
> >        and the replacement strings  for  the  following  specifiers
> >        are:
> >          %c  equivalent to ``%A %B %d %T %Y''.
> >          %p  one of ``am'' or ``pm''.
> >          %x  equivalent to ``%A %B %d %Y''.
>
> Ouch!  This looks like a certain incompatibility with C89, where most
> implementations, including the "Standard C Library" by Plauger,
> generated a different output.

Someone who actually has a copy of the C99 standard ought to look at
this.  I've heard that one of the biggest differences between the final
circulating draft (which is what Jason is using) and the standard itself
concerns the time functions.

Stephen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019