commit b0dd38e9570cdf9125786639e9568ad4b5e8befa
parent 254ac8189613fed613d54391d64a3af25ad3ef82
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 6 Aug 2016 12:56:31 +0200
gettzoffset: simplify, default is 0 so remove UTC zones to check
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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;