summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-06-29 11:30:47 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-06-29 11:30:47 +0200
commitee9b9310daef6e22bb3bad831ae3a7871a44a656 (patch)
treeb03af4fb6b5d01951e7e3b439d61430d77034344 /src
parentimprove config parsing for header operation (diff)
use UTC timestamp in header
Diffstat (limited to 'src')
-rw-r--r--src/daq/s5proxy/src/s5proxy/proxy.go2
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 {