Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

#85 - added timezone parameter to WP_JSON_DateTime::createFromFormat() #87

Merged
merged 3 commits into from Mar 2, 2014

Conversation

Projects
None yet
2 participants
Owner

rachelbaker commented Feb 22, 2014

Intended to resolve Issue #85:

  • Added $timezone parameter for $server->parse_date to WP_JSON_DateTime::createFromFormat();
  • Provided default fallback for other uses of WP_JSON_DateTime::createFromFormat(); that are not setting the $timezone variable.
  • Made the code prettier.

@rachelbaker rachelbaker added the Bug label Feb 22, 2014

@rachelbaker rachelbaker added this to the 0.9 milestone Feb 22, 2014

rmccue added a commit that referenced this pull request Mar 2, 2014

Merge pull request #87 from rachelbaker/issue-85
#85 - added timezone parameter to WP_JSON_DateTime::createFromFormat()

@rmccue rmccue merged commit 1b3598e into WP-API:master Mar 2, 2014

1 check failed

default The Travis CI build failed
Details

@rmccue rmccue self-assigned this Mar 2, 2014

Owner

rmccue commented Mar 2, 2014

Thanks!

kellbot pushed a commit to kellbot/WP-API that referenced this pull request Aug 1, 2014

Merge pull request #87 from rachelbaker/issue-85
#85 - added timezone parameter to WP_JSON_DateTime::createFromFormat()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment