diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-04 11:24:06 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-04 11:24:06 -0700 |
commit | 5606b5740c8e8714b25b011e22290989c1a92716 (patch) | |
tree | b72f77844832907a1bcb7b30a6dd1497036c8e2c /system/api/analytics/init.go | |
parent | d05291ff9d0d803958af26b425f01b12f1a96ac9 (diff) |
testing with local time vs. utc
Diffstat (limited to 'system/api/analytics/init.go')
-rw-r--r-- | system/api/analytics/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/analytics/init.go b/system/api/analytics/init.go index ccca7b9..95123ba 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -114,7 +114,7 @@ func Week() (map[string]interface{}, error) { times := [7]time.Time{} dates := [7]string{} now := time.Now() - today := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, time.UTC) + today := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, time.Local) for i := range times { // subtract 24 * i hours to make days prior |