Skip to content

Commit

Permalink
Merge pull request #8 from csunibo/fix/time
Browse files Browse the repository at this point in the history
Use std time.RFC3339
  • Loading branch information
lucat1 authored Jul 4, 2023
2 parents 55a382c + e2a2b30 commit 86cb111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statik.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (f *File) MarshalJSON() ([]byte, error) {
URL: f.URL.String(),
MIME: f.MIME.String(),
Size: f.Size,
ModTime: f.ModTime.Format(RFC3339TimeFormat),
ModTime: f.ModTime.Format(time.RFC3339),
})
}

Expand Down

0 comments on commit 86cb111

Please sign in to comment.