You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/01/31 14:33:41 UTC

[GitHub] dneuman64 commented on a change in pull request #1827: This fixes an issue in Traffic Stats with getting the last summary time

dneuman64 commented on a change in pull request #1827: This fixes an issue in Traffic Stats with getting the last summary time
URL: https://github.com/apache/incubator-trafficcontrol/pull/1827#discussion_r165068764
 
 

 ##########
 File path: traffic_stats/traffic_stats.go
 ##########
 @@ -506,9 +506,9 @@ func getToData(config StartupConfig, init bool, configChan chan RunningConfig) {
 	if err != nil {
 		errHndlr(err, ERROR)
 	} else {
-		lastSummaryTime, err := time.Parse("2006-01-02 15:04:05+00", lastSummaryTimeStr)
+		lastSummaryTime, err := time.Parse("2006-01-02 15:04:05-05", lastSummaryTimeStr)
 
 Review comment:
   hmm...I tested with -05 and that worked, let me try with -07

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services