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

Function ParseIn

parseany.go:159–165  ·  view source on GitHub ↗

ParseIn with Location, equivalent to time.ParseInLocation() timezone/offset rules. Using location arg, if timezone/offset info exists in the datestring, it uses the given location rules for any zone interpretation. That is, MST means one thing when using America/Denver and something else in other l

(datestr string, loc *time.Location, opts ...ParserOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

parseInFunction · 0.92
TestParseFunction · 0.85
TestInLocationFunction · 0.85

Calls 2

parseTimeFunction · 0.85
parseMethod · 0.80

Tested by 2

TestParseFunction · 0.68
TestInLocationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…