diff options
author | rsc <devnull@localhost> | 2006-05-30 16:47:24 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-05-30 16:47:24 +0000 |
commit | 6bd2526b02d9c05391932097f2a8b71c1a1bdc59 (patch) | |
tree | ac111b6911912a230e87d0689ad728b153d78d37 | |
parent | 403fb41e2389e033a864f110d1266a4c70076a57 (diff) | |
download | plan9port-6bd2526b02d9c05391932097f2a8b71c1a1bdc59.tar.gz plan9port-6bd2526b02d9c05391932097f2a8b71c1a1bdc59.tar.bz2 plan9port-6bd2526b02d9c05391932097f2a8b71c1a1bdc59.zip |
set didtz (rob)
-rw-r--r-- | src/lib9/date.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib9/date.c b/src/lib9/date.c index c299202e..b4e4484c 100644 --- a/src/lib9/date.c +++ b/src/lib9/date.c @@ -17,6 +17,7 @@ dotz(void) if(didtz) return; + didtz = 1; t = time(0); strftime(tzone, sizeof tzone, "%Z", localtime(&t)); tm = *localtime(&t); /* set local time zone field */ |