Skip to content

Commit

Permalink
Replace temperature after icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aonemd committed Mar 18, 2018
1 parent 0e1b759 commit 627cf45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dark_sky_weather.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func main() {
}

if units == "si" {
fmt.Println(fmt.Sprintf("%s %s %v%s", icon, summary, temperature, celsius_icon))
fmt.Println(fmt.Sprintf("%s %v%s %s", icon, temperature, celsius_icon, summary))
} else {
fmt.Println(fmt.Sprintf("%s %s %v%s", icon, summary, temperature, fahrenheit_icon))
fmt.Println(fmt.Sprintf("%s %v%s %s", icon, temperature, fahrenheit_icon, summary))
}
}

0 comments on commit 627cf45

Please sign in to comment.