Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ time_to_tm_local
Function
time_to_tm_local
date.c:79–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
static struct tm *time_to_tm_local(timestamp_t time, struct tm *tm)
80
{
81
time_t t = time;
82
return localtime_r(&t, tm);
83
}
84
85
/*
86
* Fill in the localtime
'struct tm'
for the supplied time,
Callers
1
show_date
Function · 0.85
Calls
1
localtime_r
Function · 0.85
Tested by
no test coverage detected