www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/24/13:11:39

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: "Norbert Schulze" <Norbert DOT Schulze AT rhein-neckar DOT de>
To: <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: timezone() errors
Date: Tue, 24 Aug 1999 19:11:00 +0200
Message-ID: <000001beee53$a3d27e90$3a5ac5c1@guinan>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

From the ChangeLog:

> Mon Aug 23 21:37:07 1999  Christopher Faylor <cgf AT cygnus DOT com>
>   * times.cc (timezone): Use __small_sprintf.

Did you test the change?
The format string uses the '+'-modifier and __small_sprintf doesn't know
this modifier. Therefor a '?' is inserted for the hour.

> 1999-08-23  DJ Delorie  <dj AT envy DOT delorie DOT com>
>  (timezone): return TZ if set. 

timezone() should return the timezone name not TZ.

e.g. At standard time it returns 'CST' and at daylight time 'CDT'.

If timezone() can not resolve the correct timezone name it should
return 'GMT+/-hh:mm'.

Regards
   Norbert

- Raw text -


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