datatables.net-datetime
Version:
DateTime picker for DataTables.net
34 lines (28 loc) • 722 B
text/xml
<dt-option library="DateTime">
<name>i18n.hours</name>
<summary>Label for the hours selection.</summary>
<since>DateTime 1.0.0</since>
<type type="string">
<description>
The string value for the label to indicate hours selection.
</description>
</type>
<default value="'Hour'">
</default>
<description>
<![CDATA[
This value is used as a label next to the selection for the value of hours within DateTime.
]]>
</description>
<example title="Change the value for `i18n.hours`"><![CDATA[
$(document).ready(function () {
new DateTime(document.getElementById('test'), {
format: 'HH:mm',
i18n: {
hours: 'h'
}
});
});
]]></example>
</dt-option>