At Sat, 25 Sep 2004 11:26:36 +0200, martin f krafft wrote: > also sprach GOTO Masanori <[EMAIL PROTECTED]> [2004.09.25.0420 +0200]: > > > Tue Sep 14 06:19:23 Croatia/Split 2004 > > > > > > it should be > > > > > > Tue Sep 14 06:19:23 GMT 2004 > > > > Show us your reason of "it should be" with the standard documents, > > without your opinion. > > Oh, whatever. I am not going to search whether this is specified in > the standards. I am talking about common sense here. A line such as > > Tue Sep 14 06:19:23 Croatia/Split 2004 > > is just plain wrong. Either date should report an error when the > requested timezone cannot be found, or it should specify which > timezone is at the basis of the date and time it reports. > > What it's doing right now is plain wrong, IMHO. Yes, that's my > opinion.
strftime(3) %Z returns the TZ variable if TZ is not appropriate character. SUSv3 says it's implementation-dependent behavior. Look at other systems; Solaris also returns like Linux. I don't want to know you like this form or not because I already knew it. There are some reports about it. OTOH, I want to know changing to GMT is appropriate thing or not with the C and POSIX specification. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]