summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-08-06 12:56:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-08-06 12:56:31 +0200
commitb0dd38e9570cdf9125786639e9568ad4b5e8befa (patch)
treebf2b740c00945f99d3ba83e44828ac97269c140a
parent254ac8189613fed613d54391d64a3af25ad3ef82 (diff)
gettzoffset: simplify, default is 0 so remove UTC zones to check
-rw-r--r--sfeed.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sfeed.c b/sfeed.c
index 59f8ec5..2bba7e8 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -360,17 +360,13 @@ gettzoffset(const char *s)
{ STRP("CST"), -6 * 3600 },
{ STRP("EDT"), -4 * 3600 },
{ STRP("EST"), -5 * 3600 },
- { STRP("GMT"), 0 },
{ STRP("MDT"), -6 * 3600 },
{ STRP("MST"), -7 * 3600 },
{ STRP("PDT"), -7 * 3600 },
{ STRP("PST"), -8 * 3600 },
- { STRP("UT"), 0 },
- { STRP("UTC"), 0 },
{ STRP("M"), -2 * 3600 },
{ STRP("N"), 1 * 3600 },
{ STRP("Y"), 12 * 3600 },
- { STRP("Z"), 0 },
};
const char *p;
int tzhour = 0, tzmin = 0;