datatables.net-datetime
Version:
DateTime picker for DataTables.net
27 lines (21 loc) • 579 B
text/xml
<dt-option library="DateTime">
<name>i18n.today</name>
<summary>Today button text value</summary>
<since>DateTime 1.1.0</since>
<default value="Today"></default>
<description>
Sets the string that will be shown in the _Today_ button when enabled by `dt-init buttons.today`.
</description>
<example title="Set today button text"><![CDATA[
new DateTime(document.getElementById('test'), {
buttons: {
today: true
},
i18n: {
today: 'Jump to today'
}
});
]]></example>
<related>de-init buttons.today</related>
</dt-option>