Does not respect time zone in the attributes

Created on 24 May 2023, almost 2 years ago

It outputs the time like this:

<time datetime="2023-11-03T10:00:00Z" itemprop="startDate">Friday 3 November 2023 10:00</time>

The time zone of the website is set to London, so the UTC time for this is actually 09:00, because the UK is currently on daylight savings times.

Changing the "Time zone override" in the form display doesn't make a difference.

For a time specified as 10:00 in the UK, it should show T09:00:00Z in the time tag attributes.

🐛 Bug report
Status

Closed: works as designed

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom Rob230

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

Comments & Activities

  • Issue created by @Rob230
  • Status changed to Closed: works as designed almost 2 years ago
  • 🇬🇧United Kingdom Rob230

    Withdrawing this because it is not an issue with time_field, it was another module.

Production build 0.71.5 2024