rcserver: set ModTime for dirs and files served by --rc-serve

This commit is contained in:
Nikita Shoshin authored and Nick Craig-Wood committed 2024-04-02 12:10:45 +01:00
1 parent 08bf5228a7
commit 92368f6d2b
10 files changed
+66 -8

No files matched your search

Whitespace-only changes.
View File
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
{{ range .Entries }}* {{ .Leaf }} - {{ .ModTime.UTC.Format "2006-01-02T15:04:05Z07:00" }}
{{ end }}