Skip to content

Commit

Permalink
Junit: Remove LoadLocation, since it's not alwasy available (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelsabbahy authored Aug 11, 2016
1 parent ad7ffa3 commit cd3e130
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions outputs/junit.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ func (r JUnit) Output(w io.Writer, results <-chan []resource.TestResult, startTi
var testCount, failed, skipped int

// ISO8601 timeformat
location, _ := time.LoadLocation("Etc/UTC")
timestamp := time.Now().In(location).Format(time.RFC3339)
timestamp := time.Now().Format(time.RFC3339)

var summary map[int]string
summary = make(map[int]string)
Expand Down

0 comments on commit cd3e130

Please sign in to comment.