datatables.net-datetime
Version:
DateTime picker for DataTables.net
39 lines (26 loc) • 772 B
text/xml
<dt-example table-type="html" table-class="display nowrap" order="8">
<css lib="datetime"/>
<js lib="//cdnjs.cloudflare.com/ajax/libs/luxon/1.25.0/luxon.min.js"/>
<js lib="jquery datetime">
<![CDATA[
new DateTime(document.getElementById('test'), {
format: 'd/M/yyyy, HH:mm'
});
]]>
</js>
<js-vanilla>
<![CDATA[
new DateTime(document.getElementById('test'), {
format: 'd/M/yyyy, HH:mm'
});
]]>
</js-vanilla>
<title lib="DateTime">Luxon formatting</title>
<info>< used to provide the date / time formatting.
]]></info>
<custom-table>
<input id="test" type="text" value="17/1/2020, 16:56" />
</custom-table>
</dt-example>