Searched refs:do_gmt (Results 1 – 2 of 2) sorted by relevance
208 static int do_gmt = -1; in time_to_string() local212 if (do_gmt == -1) { in time_to_string()217 do_gmt = !strcmp(tz, "GMT") || !strcmp(tz, "GMT0"); in time_to_string()220 return asctime((do_gmt) ? gmtime(&t) : localtime(&t)); in time_to_string()
224 static int do_gmt = -1; in print_time() local228 if (do_gmt == -1) { in print_time()232 do_gmt = !strcmp(time_str, "GMT") || in print_time()236 time_str = asctime((do_gmt > 0) ? gmtime(&t) : localtime(&t)); in print_time()