I am using datetimepicker to display a date. I would like to post a different format to what is displayed to the user, is this possible?
$(".datetime").datetimepicker({
isRTL: App.isRTL(),
format: "yyyy-mm-dd hh:ii:ss",
autoclose: true,
todayBtn: true,
startDate: "2013-02-14 10:00",
pickerPosition: (App.isRTL() ? "bottom-right" : "bottom-left"),
minuteStep: 10
});
Add something like this:
display: "dd MM yyyy - hh:ii",
Is this possible?
Plugin is: https://eonasdan.github.io/bootstrap-datetimepicker/