UNPKG

datatables.net-datetime

Version:

DateTime picker for DataTables.net

46 lines (41 loc) 1.04 kB
<?xml version="1.0" encoding="UTF-8" ?> <dt-option library="DateTime"> <name>i18n.months</name> <summary>Text used to indicate the months available for selection.</summary> <since>DateTime 1.0.0</since> <type type="array"> <description> Array with 12 elements each representing a month of the year. </description> </type> <default value="['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']"> An array containing values for the months. </default> <description> <![CDATA[ As standard DateTime will use the values detailed above within the calendar to represent each of the months. ]]> </description> <example title="Abbreviated values for days Months"><![CDATA[ $(document).ready(function () { new DateTime(document.getElementById('test'), { i18n: { months: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ] } }); }); ]]></example> </dt-option>