Provide correct time_range for location or website time zone

Created on 22 May 2025, 17 days ago

Problem/Motivation

The time_range that is rendered in the weather block appears to be that of GMT rather than that of the place that weather is being forecasted which is confusing.

Steps to reproduce

Install Weather on a new Drupal site, create a display with at least one location and render it in a block.

Proposed resolution

I'm not sure what the appropriate solution is but it probably makes sense to show the time of the location instead of GMT.

Remaining tasks

Discussion and perhaps adding code to look up the timezone of the location so that it can be rendered.

User interface changes

Not sure

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇨🇦Canada awasson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024