WordPress.org

WordPRess GSoC Trac

#279 closed defect (fixed)

Post preparation fails with UTC timezones

Reported by: rmccue Owned by:
Milestone: Priority: major
Component: JSON REST API Keywords:
Cc:

Description

If using an offset as the timezone, WP_JSON_Server::prepare_post() attempts to use UTC... with DateTimeZone. However, UTC is only the valid timezone, while all manual offsets should be Etc/GMT...

Change History (1)

comment:1 rmccue11 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1976

Note: See TracTickets for help on using tickets.