Searched refs:do_gmt (Results 1 – 2 of 2) sorted by relevance
194 static int do_gmt = -1; in time_to_string() local198 if (do_gmt == -1) { in time_to_string()203 do_gmt = !strcmp(tz, "GMT"); in time_to_string()206 return asctime((do_gmt) ? gmtime(&t) : localtime(&t)); in time_to_string()
220 static int do_gmt = -1; in print_time() local224 if (do_gmt == -1) { in print_time()228 do_gmt = !strcmp(time_str, "GMT0"); in print_time()231 time_str = asctime((do_gmt > 0) ? gmtime(&t) : localtime(&t)); in print_time()