aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/tzset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/tzset.c b/time/tzset.c
index 48a4e4b..0479abb 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -240,6 +240,7 @@ tzset_internal (always, explicit)
switch (sscanf (tz, "%hu:%hu:%hu", &hh, &mm, &ss))
{
default:
+ tz_rules[0].offset = 0;
goto out;
case 1:
mm = 0;