From e2a2b30bfe4add01a7bbca28e6656bc4f77905dd Mon Sep 17 00:00:00 2001 From: VaiTon Date: Tue, 4 Jul 2023 20:38:22 +0200 Subject: [PATCH] Use std time.RFC3339 --- statik.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statik.go b/statik.go index 49ac431..8a89f8f 100644 --- a/statik.go +++ b/statik.go @@ -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), }) }