delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/15/00:08:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 15 Jan 2003 00:08:30 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problems with the "%h" flag to the "date" command
Message-ID: <20030115050830.GA24898@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030115043754 DOT GA1416 AT scripps DOT edu>
Mime-Version: 1.0
In-Reply-To: <20030115043754.GA1416@scripps.edu>
User-Agent: Mutt/1.5.1i

On Tue, Jan 14, 2003 at 08:37:54PM -0800, David A.  Case wrote:
>Several of my scripts are failing because "date" doesn't seem to properly
>recognize the "%h" flag.  According to the docs:
>
>% man date
>
>NAME
>       date - print or set the system date and time
>..
>
>       %b     locale's abbreviated month name (Jan..Dec)
>..
>       %h     same as %b
>..

Apparently newlib isn't implementing the '%h' option in its version of
strftime.  I'll submit a patch to newlib.

I'll also implement '%l' and '%k' while I'm at it.

A fix for this will be in 1.3.19, coming soon, to a...

No wait a minute, I forgot I was going to be mean and hold onto 1.3.19
for a while...

Bwaha, etc.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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