change default time format

This commit is contained in:
mappu 2017-07-09 17:20:21 +12:00
parent 993864ea35
commit 619dc78bac

View File

@ -24,7 +24,7 @@ func DefaultOptions() *ServerOptions {
ExpectBaseURL: "/",
DefaultPage: "home",
Timezone: "UTC",
DateFormat: time.RFC822Z,
DateFormat: time.RFC3339,
DBFilePath: "wiki.db",
FaviconFilePath: "", // no favicon
AllowDBDownload: true,