Skip to content

feat: add UK hybrid units support (?k / use_uk) with automatic GB det… - #1303

Open
dubstar-mib wants to merge 1 commit into
chubin:masterfrom
dubstar-mib:feature/uk-units
Open

dubstar-mib wants to merge 1 commit into
chubin:masterfrom
dubstar-mib:feature/uk-units

Conversation

@dubstar-mib

Copy link
Copy Markdown

Summary

Resolves #1055

Adds native support for UK hybrid meteorological units across standard viewports and one-line formats:

  • Temperature: Celsius (°C)
  • Wind Speed: Miles per hour (mph)
  • Visibility: Miles (mi)
  • Precipitation: Millimetres (mm)

Changes

  • Adds ?k and ?use_uk URL query flags.
  • Automatically enables UK hybrid units for visitors originating from the UK via GeoIP country detection (GB), mirroring existing automatic US imperial handling.
  • Explicit unit flags (?m, ?u, ?M) override automatic geolocation detection as expected.

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

Successfully merging this pull request may close these issues.

No flags for Uk weather reporting style.

1 participant