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

Function ParseLocal

parseany.go:182–188  ·  view source on GitHub ↗

ParseLocal Given an unknown date format, detect the layout, using time.Local, parse. Set Location to time.Local. Same as ParseIn Location but lazily uses the global time.Local variable for Location argument. denverLoc, _ := time.LoadLocation("America/Denver") time.Local = denverLoc t, err := dat

(datestr string, opts ...ParserOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

mainFunction · 0.92
parseLocalFunction · 0.92
TestInLocationFunction · 0.85

Calls 2

parseTimeFunction · 0.85
parseMethod · 0.80

Tested by 1

TestInLocationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…