# README
Date Parse
wget -qO internal/dateparse/parseany.go https://raw.githubusercontent.com/araddon/dateparse/master/parseany.go
# Functions
MustParse parse a date, and panic if it can't be parsed.
ParseAny parse an unknown date format, detect the layout.
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.
ParseIn with Location, equivalent to time.ParseInLocation() timezone/offset rules.
ParseLocal Given an unknown date format, detect the layout, using time.Local, parse.
ParseStrict parse an unknown date format.
PreferMonthFirst is an option that allows preferMonthFirst to be changed from its default.
RetryAmbiguousDateWithSwap is an option that allows retryAmbiguousDateWithSwap to be changed from its default.
# Variables
ErrAmbiguousMMDD for date formats such as 04/02/2014 the mm/dd vs dd/mm are ambiguous, so it is an error for strict parse rules.
# Type aliases
ParserOption defines a function signature implemented by options Options defined like this accept the parser and operate on the data within.