Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Array already has time.RFC3339 const #1345

Merged
merged 4 commits into from
Oct 10, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions binding/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var binders = map[string]Binder{}
var decoder *formam.Decoder
var lock = &sync.Mutex{}
var timeFormats = []string{
"2006-01-02T15:04:05Z07:00",
time.RFC3339,
"01/02/2006",
"2006-01-02",
"2006-01-02T15:04",
Expand All @@ -40,7 +40,6 @@ var timeFormats = []string{
time.RFC850,
time.RFC1123,
time.RFC1123Z,
time.RFC3339,
time.RFC3339Nano,
time.Kitchen,
time.Stamp,
Expand Down