You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
The date field of GET /comments should contain either a 'Z' time offset signature. #1675
Environment
WordPress: 4.3.1
WP REST API: 2.0-beta 4
Machine: Chassis with VirtualBox 4.3.28 as its VM backend
How To
Using the following snippet:
The date field of the response will be
2015-10-22T12:00:00, so doesGET /comments.According to the ECMAScript 2015 spec:
Thus, the returned date string is a local time string instead of the originally-submitted UTC time string for any browser implementing this spec.