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

Commit

Permalink
Array already has time.RFC3339 const (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
rxx authored and markbates committed Oct 10, 2018
1 parent dcc5d1f commit cea9617
Showing 1 changed file with 1 addition and 2 deletions.
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

0 comments on commit cea9617

Please sign in to comment.