You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi:
I see that datepicker's default format is mm/dd/yy, like 04/28/2021, but I want to set datepicker's format as 2021-04-28, so I modify argon.js and add dateFormat to datepicker, like this:
`var Datepicker = (function() {
// Variables
var $datepicker = $('.datepicker');
// Methods
function init($this) {
var options = {
disableTouchKeyboard: true,
autoclose: false,
dateFormat: "yy-mm-dd"
};
$this.datepicker(options);
}
// Events
if ($datepicker.length) {
$datepicker.each(function() {
init($(this));
});
}`
})();
But this not work, what should I do?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi:
I see that datepicker's default format is mm/dd/yy, like 04/28/2021, but I want to set datepicker's format as 2021-04-28, so I modify argon.js and add dateFormat to datepicker, like this:
`var Datepicker = (function() {
})();
But this not work, what should I do?
Thank you!
The text was updated successfully, but these errors were encountered: