aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatrickhlauke <[email protected]>2017-10-31 16:22:20 +0200
committerXhmikosR <[email protected]>2017-10-31 21:36:17 +0200
commite80f61623bb3e02a103fd49072d154b2c0b7a8ca (patch)
treee2a24d93f090c781d44a24423ca0f0852c49c9e3
parent96a9fa1c82dac6b9ae3ea175338eede9183a6342 (diff)
downloadbootstrap-e80f61623bb3e02a103fd49072d154b2c0b7a8ca.tar.xz
bootstrap-e80f61623bb3e02a103fd49072d154b2c0b7a8ca.zip
Remove `datetime-local` warning from vnu ignore list, change reboot example.
-rw-r--r--build/vnu-jar.js4
-rw-r--r--docs/4.0/content/reboot.md9
2 files changed, 10 insertions, 3 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index 0df50680b..1a2ff827b 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -32,7 +32,9 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
// Markup used in Components > Forms > Layout > Form grid > Horizontal form is currently invalid,
// but used this way due to lack of support for flexbox layout on <fieldset> element in most browsers
'Element “legend” not allowed as child of element “div” in this context.*',
- 'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
+ // Content > Reboot uses various date/time inputs as a visual example. Documentation does not rely on them being usable.
+ 'The “date” input type is not supported in all browsers.*',
+ 'The “time” input type is not supported in all browsers.*',
// The next one we are using it because IE11 doesn't recognise <main>.
// So, redundant for modern browsers, but not invalid.
'The “main” role is unnecessary for element “main”.'
diff --git a/docs/4.0/content/reboot.md b/docs/4.0/content/reboot.md
index 58d6b201b..d90877fee 100644
--- a/docs/4.0/content/reboot.md
+++ b/docs/4.0/content/reboot.md
@@ -266,8 +266,13 @@ These changes, and more, are demonstrated below.
</p>
<p>
- <label for="time">Example temporal</label>
- <input type="datetime-local" id="time">
+ <label for="date">Example date</label>
+ <input type="date" id="date">
+ </p>
+
+ <p>
+ <label for="time">Example time</label>
+ <input type="time" id="time">
</p>
<p>