timezone format in before and after parameter
-
Hi
Thanks for the great plugin!!
I just have small problem with adding the timezone in the before and after parameters.
In the Documentation, it says:“A parsable formatted date string. Unless specified in the format used, the result will be relative to the timezone of the site.”
I am using the compact format i.e
20121012074522
The problem is that I am getting UTC times back from the call
/wp_api/v1/posts
But the before and after filters are using GMT
/wp_api/v1/posts?orderby=modified&order=ASC&before=20121112113007&after=20121012074522&per_page=10&offset=0&paged=1
and I cannot figure out how to pass the the fact that I want them to use UTC
Would be great if you could point me in the right direction.
Thanks
- The topic ‘timezone format in before and after parameter’ is closed to new replies.