mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-12-08 05:34:22 +00:00
Allow the date formatter to be set from external
This commit is contained in:
parent
467388d233
commit
70fa598cf0
@ -639,6 +639,9 @@
|
||||
initDateFormatter();
|
||||
}
|
||||
},
|
||||
setDateFormatter: function(dateFormatter) {
|
||||
dateHelper = dateFormatter;
|
||||
},
|
||||
RFC_2822: 'D, d M Y H:i:s O',
|
||||
ATOM: 'Y-m-d\TH:i:sP',
|
||||
ISO_8601: 'Y-m-d\TH:i:sO',
|
||||
|
Loading…
Reference in New Issue
Block a user