MCPcopy Index your code
hub / github.com/araddon/dateparse / ParseAny

Function ParseAny

parseany.go:146–152  ·  view source on GitHub ↗

ParseAny parse an unknown date format, detect the layout. Normal parse. Equivalent Timezone rules as time.Parse(). NOTE: please see readme on mmdd vs ddmm ambiguous dates.

(datestr string, opts ...ParserOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

parseAnyFunction · 0.92
BenchmarkParseAnyFunction · 0.85
TestParseFunction · 0.85
TestParseErrorsFunction · 0.85
TestPreferMonthFirstFunction · 0.85

Calls 2

parseTimeFunction · 0.85
parseMethod · 0.80

Tested by 5

BenchmarkParseAnyFunction · 0.68
TestParseFunction · 0.68
TestParseErrorsFunction · 0.68
TestPreferMonthFirstFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…