Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ogig33 opened this issue Jan 6, 2023 · 1 comment

Comments

@ogig33
Copy link

ogig33 commented Jan 6, 2023

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

@inderdhir
Copy link
Owner

inderdhir commented Jan 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants