www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/27/20:06:55

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strftime: Need Help with Time Offsets
Date: Thu, 28 Dec 2000 01:01:19 +0000
Organization: Customer of Energis Squared
Lines: 22
Message-ID: <pk3l4t0bj4t8g4e3h5r08e8en39n5s3q3n@4ax.com>
References: <0nt94tkh5ptfohe9414da1u3geja7ml4vm AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1001224073918 DOT 7747A-100000 AT is> <2fai4t4koosl9p8ml5uu4ft7o4c4gad3m1 AT 4ax DOT com> <92d6e4$evr$1 AT news DOT luth DOT se>
NNTP-Posting-Host: modem-39.mendelevium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg2.svr.pol.co.uk 977965299 28289 62.136.70.39 (28 Dec 2000 01:01:39 GMT)
NNTP-Posting-Date: 28 Dec 2000 01:01:39 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se> wrote:

> Wouldn't it be good to point out the format is "HHMM" or however we
> can express this?

Sure.

--- src/libc/ansi/time/strftime.txh.orig  Mon Aug  2 12:28:18 1999
+++ src/libc/ansi/time/strftime.txh     Wed Dec 27 18:54:42 2000
@@ -149,6 +149,12 @@

 The timezone abbreviation (@code{EDT})

+@item %z
+
+The time-zone as hour offset from UTC in the ISO 8601 format
+(@code{-0430}) (meaning 4 hours 30 minutes behind UTC, west of
+Greenwich)
+
 @item %%

 A percent symbol (@code{%})

- Raw text -


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