diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-06-29 11:30:47 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-06-29 11:30:47 +0200 |
commit | ee9b9310daef6e22bb3bad831ae3a7871a44a656 (patch) | |
tree | b03af4fb6b5d01951e7e3b439d61430d77034344 /src | |
parent | improve config parsing for header operation (diff) |
use UTC timestamp in header
Diffstat (limited to 'src')
-rw-r--r-- | src/daq/s5proxy/src/s5proxy/proxy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daq/s5proxy/src/s5proxy/proxy.go b/src/daq/s5proxy/src/s5proxy/proxy.go index 7d0b0bd..b36a66a 100644 --- a/src/daq/s5proxy/src/s5proxy/proxy.go +++ b/src/daq/s5proxy/src/s5proxy/proxy.go @@ -52,7 +52,7 @@ func generateTime(input string) string { return "" } - return time.Now().Add(d).Format(time.RFC1123) + return time.Now().UTC().Add(d).Format(time.RFC1123) } type s5proxyResponseWriter struct { |