www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/30/07:03:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200412301203.iBUC3DDf022426@speedy.ludd.ltu.se>
Subject: strftime patch
To: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Date: Thu, 30 Dec 2004 13:03:13 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-ltu-MailScanner-Information: Please contact the ISP for more information
X-ltu-MailScanner: Found to be clean
X-MailScanner-From: ams AT ludd DOT ltu DOT se
Reply-To: djgpp-workers AT delorie DOT com

Hello.

I'm getting failures from the strftim* test programs. OS WINDOWS 98
English, Swedish "Regional settings". djtz*.zip NOT installed. No
(what I think is) relevant environment variables set (LANG, LC_ALL,
TZ).

My (lack of) setup might very well why it fails, but if something
are necessary for correct functioning the program should verify that.

strftime:
 fmt: "%Z "  expected: "GMT" 
                  got: "" 

 fmt: "%z "  expected: "+0000" 
                  got: "" 


strftimt:
 test  10  error FAILED  expected '2000-01-05 17:41:01 UTC' 
                           actual '2000-01-05 17:41:01 ' 

 test  11  error FAILED  expected '2000-01-05 17:41:01 +0000' 
                           actual '2000-01-05 17:41:01 ' 

 test  32  error FAILED  expected '01.08.2000 05:06:07 CEST' 
                           actual '01.08.2000 05:06:07 EDT' 

 test  33  error FAILED  expected '01.08.2000 05:06:07 +0200' 
                           actual '01.08.2000 05:06:07 -0400' 
tests 33  errors     4  passed 29 



Right,

						MartinS

- Raw text -


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