mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
8464020f7c
* Add {whenISO} to record timestamp in ISO 8601 format in UTC. ISO 8601 is the standard time format and is easy to parse. This change assumes users desiring ISO 8016 generally prefer UTC for simplicity. This results in {whenISO} to be significantly shorter than {when}: {when} = "02/Jan/2006:15:04:05 +0000" {whenISO} = "2006-01-02T15:04:12Z" Add unit test to verify both, as there was no unit test for {when}. * Rename {whenISO} to {when_iso} |
||
---|---|---|
.. | ||
condition.go | ||
condition_test.go | ||
context.go | ||
context_test.go | ||
error.go | ||
graceful.go | ||
https.go | ||
https_test.go | ||
middleware.go | ||
middleware_test.go | ||
path.go | ||
pathcleaner.go | ||
pathcleaner_test.go | ||
plugin.go | ||
plugin_test.go | ||
recorder.go | ||
recorder_test.go | ||
replacer.go | ||
replacer_test.go | ||
roller.go | ||
server.go | ||
server_test.go | ||
siteconfig.go | ||
vhosttrie.go | ||
vhosttrie_test.go |