MCPcopy Create free account
hub / github.com/git/git / date_today

Function date_today

date.c:1209–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207}
1208
1209static void date_today(struct tm *tm, struct tm *now, int *num)
1210{
1211 if (tm->tm_hour == now->tm_hour &&
1212 tm->tm_min == now->tm_min &&
1213 tm->tm_sec == now->tm_sec)
1214 date_time(tm, 0);
1215 *num = 0;
1216 tm->tm_mday = -1;
1217 update_tm(tm, now, 0);
1218}
1219
1220static const struct special {
1221 const char *name;

Callers

nothing calls this directly

Calls 2

date_timeFunction · 0.85
update_tmFunction · 0.85

Tested by

no test coverage detected