WordPRess GSoC

Opened 5 years ago

Closed 5 years ago

#279 closed defect (fixed)

Post preparation fails with UTC timezones

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


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)

#1 @rmccue
5 years ago

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

Fixed in r1976

Note: See TracTickets for help on using tickets.