Package: ansiweather
Version: 1.18.0-3
Followup-For: Bug #1079165
X-Debbugs-Cc: krzpyrk...@gmail.com

Hi Thorsten,

The quickest solution is to override the value of "timeformat"
confguration variable in the rc file. By default it's set to "%b %d %r".
Changing it to "%R" displays the hour and minute in 24-hour format.

$ ansiweather -d true -l Athens
 Weather in Athens: 29 °C - UVI: 6.77 - Wind: 1.79 m/s W - Humidity: 48% - 
Pressure: 1013 hPa - Sunrise: Aug 29 05:52:46 AM - Sunset: Aug 29 06:59:41 PM
$ echo 'timeformat:%R' > ~/.ansiweatherrc
$ ansiweather -d true -l Athens
 Weather in Athens: 29 °C - UVI: 6.77 - Wind: 1.79 m/s W - Humidity: 48% - 
Pressure: 1013 hPa - Sunrise: 05:52 - Sunset: 18:59

Does it work for you?

Krzysztof

Reply via email to