merged plib
[ppastats.git] / src / lp_json.c
index 0643a1b..76a97d6 100644 (file)
@@ -52,7 +52,7 @@ static json_object *time_to_json(time_t t)
 {
        char *str;
 
-       str = time_to_str(&t);
+       str = time_to_ISO8601_time(&t);
 
        if (str)
                return json_object_new_string(str);