mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #419 from greuff/master
Allow the date formatter to be set from external
This commit is contained in:
commit
8bc423d938
@ -639,6 +639,9 @@
|
|||||||
initDateFormatter();
|
initDateFormatter();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
setDateFormatter: function(dateFormatter) {
|
||||||
|
dateHelper = dateFormatter;
|
||||||
|
},
|
||||||
RFC_2822: 'D, d M Y H:i:s O',
|
RFC_2822: 'D, d M Y H:i:s O',
|
||||||
ATOM: 'Y-m-d\TH:i:sP',
|
ATOM: 'Y-m-d\TH:i:sP',
|
||||||
ISO_8601: 'Y-m-d\TH:i:sO',
|
ISO_8601: 'Y-m-d\TH:i:sO',
|
||||||
|
Loading…
Reference in New Issue
Block a user