From b0dd38e9570cdf9125786639e9568ad4b5e8befa Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 6 Aug 2016 12:56:31 +0200 Subject: gettzoffset: simplify, default is 0 so remove UTC zones to check --- sfeed.c | 4 ---- 1 file changed, 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; -- cgit v1.2.3