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

Function ParseFormat

parseany.go:210–220  ·  view source on GitHub ↗

ParseFormat parse's an unknown date-time string and returns a layout string that can parse this (and exact same format) other date-time strings. layout, err := dateparse.ParseFormat("2013-02-01 00:00:00") layout = "2006-01-02 15:04:05"

(datestr string, opts ...ParserOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mainFunction · 0.92
TestParseLayoutFunction · 0.85

Calls 2

parseTimeFunction · 0.85
parseMethod · 0.80

Tested by 1

TestParseLayoutFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…