]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove `datetime-local` warning from vnu ignore list, change reboot example.
authorpatrickhlauke <redux@splintered.co.uk>
Tue, 31 Oct 2017 14:22:20 +0000 (16:22 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 31 Oct 2017 19:36:17 +0000 (21:36 +0200)
build/vnu-jar.js
docs/4.0/content/reboot.md

index 0df50680b6efe58481c9418893750f6efaff05da..1a2ff827b1cc1d228bbb475f2cc5af9b27bfc435 100644 (file)
@@ -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”.'
index 58d6b201b7be1ef62b9333a384ed2c94849a3fa1..d90877fee71104b2dad9699875d85839523f592f 100644 (file)
@@ -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>