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

Function parse_date

date.c:979–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979int parse_date(const char *date, struct strbuf *result)
980{
981 timestamp_t timestamp;
982 int offset;
983 if (parse_date_basic(date, &timestamp, &offset))
984 return -1;
985 date_string(timestamp, offset, result);
986 return 0;
987}
988
989static enum date_mode_type parse_date_type(const char *format, const char **end)
990{

Callers 4

fmt_identFunction · 0.85
parse_datesFunction · 0.85
parse_identFunction · 0.85
parse_force_dateFunction · 0.85

Calls 2

parse_date_basicFunction · 0.85
date_stringFunction · 0.85

Tested by 1

parse_datesFunction · 0.68