Problem/Motivation

The event date timezone is missing from the API. As a result, it's not possible to use the event dates. Timezon is captured when the event is added.

Steps to reproduce

Goto https://www.drupal.org/api-d7/node.json?type=event, the event date, field_date_of_event, is provided, but not the timezone.

CommentFileSizeAuthor
timezone.png22.84 KBstephencross

Comments

stephencross created an issue. See original summary.

drumm’s picture

Project: Drupal.org infrastructure » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: Other » Code
Related issues: +#998076: Problem with timezone handling (caused by date_get_timezone_db returning only UTC)

We may want to wait for #998076: Problem with timezone handling (caused by date_get_timezone_db returning only UTC) to be resolved before thinking of adding this to the API.

The API is made by restws module, which mostly directly shows the field values from the entity API. So this may be a feature request for the date module.