The date and time should also be localized. For this, the components should be configurable and the Drupal service to format dates should be used rather than PHP's handler directly.

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review
StatusFileSize
new2.57 KB

This patch solves it for the current weather data. However, the whole code in this service should be optimized generally because it contains so much redundant code that it is really hard to maintain.

prashant114606’s picture

Status: Needs review » Reviewed & tested by the community

Tested locally. Looks good.

prashant114606’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.