Skip to content

Commit ef7e49d

Browse files
authored
Change format for "datetime" context (openhab#2389)
Refs openhab/openhab-core#4428. Signed-off-by: Florian Hotze <[email protected]>
1 parent 199820e commit ef7e49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developers/addons/config-xml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The following contexts require a specific format of the content:
117117
<tr><td>password-create</td><td>text</td><td>alphanumeric characters</td><td>custom password input</td></tr>
118118
<tr><td>color</td><td>text</td><td>#000000 - #ffffff (hex color)</td><td><code>&lt;input type="color"/></code></td></tr>
119119
<tr><td>date</td><td>text</td><td>YYYY-MM-DD</td><td><code>&lt;input type="date"/></code></td></tr>
120-
<tr><td>datetime</td><td>text</td><td>YYYY-MM-DD hh:mm:ss</td><td>custom input field</td></tr>
120+
<tr><td>datetime</td><td>text</td><td>YYYY-MM-DD'T'hh:mm:ss, e.g. 2019-12-31T23:59:59</td><td>custom input field</td></tr>
121121
<tr><td>email</td><td>text</td><td>[email protected]</td><td><code>&lt;input type="email"/></code></td></tr>
122122
<tr><td>month</td><td>text</td><td>month of year</td><td>custom input field</td></tr>
123123
<tr><td>week</td><td>integer</td><td>week of year</td><td>custom input field</td></tr>

0 commit comments

Comments
 (0)