mcabber/mcabber/utils.c
changeset 2168 87244845fd9c
parent 2135 361603828d9e
child 2197 189abf03ef24
--- a/mcabber/mcabber/utils.c	Fri Oct 17 22:42:07 2014 +0200
+++ b/mcabber/mcabber/utils.c	Thu Dec 11 20:19:37 2014 +0100
@@ -429,7 +429,8 @@
       int tzhrs, tzmins;
 
       if (*c == '.') /* dealing with precision we don't care about */
-        c += 4;
+        while (isdigit(*++c))
+          ;
 
       if ((*c == '+' || *c == '-') &&
           sscanf(c+1, "%02d:%02d", &tzhrs, &tzmins)) {