DatWeatherDoe icon indicating copy to clipboard operation
DatWeatherDoe copied to clipboard

Show complete weather option does not work when weather source is set to postal code

Open ogig33 opened this issue 2 years ago • 2 comments

Issue

When Weather source is set to "Postal code", the menu option Show complete weather opens https://openweathermap.org/city/0 in the browser (= London, GB) regardless of the actual postal code set in DatWeatherDoe.

Expected behaviour

OpenWeatherMap site is opened with the location configured in DatWeatherDoe.

Steps to reproduce

  1. Choose Configure menu item
  2. Set Weather source to "Postal code"
  3. Set Postal code to "50769,de"
  4. Choose Show complete weather menu item
  5. Check browser for the location show in the OpenWeatherMap website

Environment

macOS 13.1 DatWeatherDoe 3.2

ogig33 avatar Jan 06 '23 12:01 ogig33

This is a bug with OpenWeatherMap's api where it always sends 0 for the cityId if zip code is used. This problem might go away once we migrate to their 3.0 API.

inderdhir avatar Jan 22 '23 03:01 inderdhir

Can you try with 5.0.0? The app now uses WeatherAPI

inderdhir avatar Jul 02 '24 16:07 inderdhir