From 079e4d1f0b07bb704767d1f088b9bb9e235be988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 26 Oct 2005 13:23:43 +0000 Subject: [PATCH] unlike on BeOS, our localtime_r doesn't set timezone information, we can call tzset() ourself git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14527 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/dstcheck.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/dstcheck.cpp b/src/bin/dstcheck.cpp index 3580a6e751..1e071ab104 100644 --- a/src/bin/dstcheck.cpp +++ b/src/bin/dstcheck.cpp @@ -80,6 +80,7 @@ main(int argc, char **argv) { time_t t; struct tm tm; + tzset(); time(&t); localtime_r(&t, &tm);