Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site panda.UUCP Path: utzoo!decvax!bellcore!ulysses!allegra!mit-eddie!think!harvard!talcott! panda!sources-request From: sources-requ...@panda.UUCP Newsgroups: mod.sources Subject: time conversion / time zone system Message-ID: <1479@panda.UUCP> Date: Fri, 7-Mar-86 17:43:08 EST Article-I.D.: panda.1479 Posted: Fri Mar 7 17:43:08 1986 Date-Received: Sun, 9-Mar-86 05:25:33 EST Sender: j...@panda.UUCP Lines: 2747 Approved: j...@panda.UUCP Mod.sources: Volume 4, Issue 14 Submitted by: talcott!seismo!elsie!ado Code
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua! gatech!ut-sally!std-unix From: std-u...@ut-sally.UUCP Newsgroups: mod.std.unix Subject: time conversion Message-ID: <4387@ut-sally.UUCP> Date: Sat, 8-Mar-86 15:15:39 EST Article-I.D.: ut-sally.4387 Posted: Sat Mar 8 15:15:39 1986 Date-Received: Sun, 9-Mar-86 09:41:37 EST Organization: IEEE/P1003 Portable Operating System Environment Committee Lines: 26 Approved: j...@sally.UUCP Date: Sat, 8 Mar 86 13:14:34 EST From: elsie!...@SEISMO.CSS.GOV Source for the time zone compiler discussed here earlier has been posted to mod.sources. The new posting incorporates changes suggested by net readers: * "newctime" now returns a pointer to a string of exactly the same form as that returned by "ctime"--no time zone abbreviation appended. * the format of "time zone information files" has been changed so that the files can hold descriptions of arbitrarily large size. I agree with munnari!kre--certainly the P1003 standard ought not require conforming implementations to provide exhaustive time conversion capabilities; kre's note about what the standard actually might look like is a good starting place. Still, the standard ought to allow folks to do arbitrary time conversion if they want to; the mod.sources posting should provide both an idea of just how arbitrary governments have been (and can be expected to be) in defining "local time," and an idea of the sort of mechanism that would be required to deal with this arbitrariness. -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!...@seismo.ARPA DEC, VAX, Elsie & Ado are Digital, Borden & Shakespeare trademarks. Volume-Number: Volume 5, Number 68