MCPcopy Create free account
hub / github.com/corestoreio/pkg / StringToDate

Function StringToDate

util/conv/caste.go:741–746  ·  view source on GitHub ↗

StringToDate casts an empty interface to a time.Time. Location can be nil, then time.Local is the default value.

(s string, loc *time.Location)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestStringToDateFunction · 0.85
ToTimeEFunction · 0.85

Calls 1

parseDateWithFunction · 0.85

Tested by 1

TestStringToDateFunction · 0.68