Created
June 5, 2020 06:34
-
-
Save reachkamrul/97fc095b1a9180cc9462738cf63dc9a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = jQuery(".ninja_filter_date_picker,.ninja_filter_date_range"); | |
jQuery.each(a, function (t, e) { | |
var n = jQuery(e); | |
n.pikaday({ | |
format: n.data("date_format"), | |
defaultDate: n.val(), | |
i18n: { | |
previousMonth : 'SPrevious Month', //Change Previous Month text here | |
nextMonth : 'SNext Month', //Change Next Month text here | |
months : ['SJanuary','February','March','April','May','June','July','August','September','October','November','December'], //Change Month (Fullname) text here | |
weekdays : ['SSunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'], ///Change Day Full name text here | |
weekdaysShort : ['SSun','Mon','Tue','Wed','Thu','Fri','Sat'] //Change Day Short name text here | |
}, | |
}); | |
moment.updateLocale('en', { | |
monthsShort : [ "sJan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ] //Change Month Short name text here | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment