Skip to content

Commit

Permalink
Merge pull request WP-API#2 from nylen/fix/datetimes-arent-iso8601
Browse files Browse the repository at this point in the history
Do not document datetime values as ISO8601
  • Loading branch information
rmccue authored Jul 19, 2017
2 parents f8c07ac + a1079e3 commit c9a59b8
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bin/templates/reference-parts/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>Schema</h2>
<span class="type">
{{ property.type }}{% if property.format %},
{% if property.format == 'date-time' %}
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
{% elseif property.format == 'uri' %}
uri
{% else %}
Expand Down
4 changes: 2 additions & 2 deletions reference/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -121,7 +121,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
8 changes: 4 additions & 4 deletions reference/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -26,7 +26,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down Expand Up @@ -77,7 +77,7 @@
<code>modified</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -91,7 +91,7 @@
<code>modified_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
8 changes: 4 additions & 4 deletions reference/page-revisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -37,7 +37,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down Expand Up @@ -73,7 +73,7 @@
<code>modified</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -86,7 +86,7 @@
<code>modified_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
8 changes: 4 additions & 4 deletions reference/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -26,7 +26,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down Expand Up @@ -77,7 +77,7 @@
<code>modified</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -91,7 +91,7 @@
<code>modified_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
8 changes: 4 additions & 4 deletions reference/post-revisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -37,7 +37,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down Expand Up @@ -73,7 +73,7 @@
<code>modified</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -86,7 +86,7 @@
<code>modified_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
8 changes: 4 additions & 4 deletions reference/posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<code>date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -26,7 +26,7 @@
<code>date_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down Expand Up @@ -77,7 +77,7 @@
<code>modified</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand All @@ -91,7 +91,7 @@
<code>modified_gmt</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion reference/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<code>registered_date</code><br />
<span class="type">
string,
datetime (ISO8601)
datetime ([details](https://core.trac.wordpress.org/ticket/41032))
</span>
</td>
<td>
Expand Down

0 comments on commit c9a59b8

Please sign in to comment.