Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

On Version 1.2.2 setting timezone to UTC-0:30 causes fatals #1438

@jeichorn

Description

@jeichorn

[27-Jul-2015 19:52:39 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (Etc/GMT-0.5)' in /dom7859/wp-content/plugins/json-rest-api/plugin.php:672

It looks like this is caused by the timezone list in wordpress not matching what is actually supported in php.
http://php.net/manual/en/timezones.others.php

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions