Log stats in UTC.

This commit is contained in:
A. Svensson 2016-02-22 18:35:46 +01:00
parent 5a10cdecd9
commit 4240297aa8
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ func (s *Server) TimeIsGreater(hours int) bool {
// Return a formatted string of LastUpdated. // Return a formatted string of LastUpdated.
func (s *Server) Timestamp() string { func (s *Server) Timestamp() string {
return s.LastUpdated.String() return s.LastUpdated.Format("2006-01-02 15:04 MST")
} }
// Return a fancy string duration since LastUpdated. // Return a fancy string duration since LastUpdated.

View File

@ -35,5 +35,5 @@ func ResetNow() {
} }
func Now() time.Time { func Now() time.Time {
return now return now.UTC()
} }