diff --git a/src/models.go b/src/models.go index d1fd7c6..687e582 100644 --- a/src/models.go +++ b/src/models.go @@ -47,7 +47,7 @@ func (s *Server) TimeIsGreater(hours int) bool { // Return a formatted string of LastUpdated. 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. diff --git a/src/utils.go b/src/utils.go index 3c5246c..a11ece0 100644 --- a/src/utils.go +++ b/src/utils.go @@ -35,5 +35,5 @@ func ResetNow() { } func Now() time.Time { - return now + return now.UTC() }