Skip to content

Commit

Permalink
fix FixedTimezone
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuchiki committed Mar 15, 2018
1 parent abea263 commit fb403b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions timezone.go
Original file line number Diff line number Diff line change
Expand Up @@ -1145,10 +1145,6 @@ func FixedTimezone(t time.Time, timezone string) (time.Time, error) {
var loc *time.Location
zone, offset := time.Now().In(time.Local).Zone()

if zone == "UTC" {
return t, err
}

if timezone != "" {
loc, err = time.LoadLocation(timezone)
if err != nil {
Expand Down

0 comments on commit fb403b2

Please sign in to comment.