--- a/lib/pacutils/util.c +++ b/lib/pacutils/util.c @@ -79,7 +79,7 @@ stm->tm_mday = 1; /* locate the end of the usable date */ - if((c = strpbrk(string, " T")) && (c = strpbrk(c, ",.Z-"))) { + if((c = strpbrk(string, " T")) && (c = strpbrk(c, ",.Z-+"))) { /* ignore trailing timezone and/or fractional elements */ end = c; } else {