mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-12-21 12:43:09 -05:00
kph should be mps
This commit is contained in:
parent
2dd8fc36bd
commit
2908823e6c
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ func printWeather(app *Application) {
|
||||||
if app.Config.Units == "imperial" {
|
if app.Config.Units == "imperial" {
|
||||||
unitStr = "Farhenheit/mph"
|
unitStr = "Farhenheit/mph"
|
||||||
} else {
|
} else {
|
||||||
unitStr = "Celsius/kph"
|
unitStr = "Celsius/mps"
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("\nNote! A value of 0 or 0.00 indicates the data is not available at this time.")
|
fmt.Println("\nNote! A value of 0 or 0.00 indicates the data is not available at this time.")
|
||||||
|
@ -31,7 +31,7 @@ func printHistorical(app *Application) {
|
||||||
if app.Config.Units == "imperial" {
|
if app.Config.Units == "imperial" {
|
||||||
unitStr = "Farhenheit/mph"
|
unitStr = "Farhenheit/mph"
|
||||||
} else {
|
} else {
|
||||||
unitStr = "Celsius/kph"
|
unitStr = "Celsius/mps"
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("\nNote! A value of 0 or 0.00 indicates the data is not available at this time.")
|
fmt.Println("\nNote! A value of 0 or 0.00 indicates the data is not available at this time.")
|
||||||
|
|
Loading…
Reference in a new issue