MCPcopy Index your code
hub / github.com/git/git / local_tzoffset

Function local_tzoffset

date.c:114–122  ·  view source on GitHub ↗

* What value of "tz" was in effect back then at "time" in the * local timezone? */

Source from the content-addressed store, hash-verified

112 * local timezone?
113 */
114static int local_tzoffset(timestamp_t time)
115{
116 struct tm tm;
117
118 if (date_overflows(time))
119 die("Timestamp too large for this system: %"PRItime, time);
120
121 return local_time_tzoffset((time_t)time, &tm);
122}
123
124static void get_time(struct timeval *now)
125{

Callers 1

show_dateFunction · 0.85

Calls 3

date_overflowsFunction · 0.85
local_time_tzoffsetFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected