Eonasdan/bootstrap-datetimepicker — pull request #26 by timblack1 (2013-10-17 05:54:26+00:00)
Title: Fix to output new date in local time to input element

At least when I use a BackGrid moment cell configured like the one below, I have to make this change to bootstrap-datetimepicker.js to get it to output dates in the same time zone as what is displayed in the datetimepicker itself. The BackGrid moment cell then takes care of converting it to UTC.

cell: Backgrid.Extension.MomentCell.extend({
modelInUTC: true,
// This should convert the data to display in local time
displayInUTC: false,
modelFormat: "YYYY-MM-DD HH:mm:ss.SSSSSS",
displayFormat: "YYYY-MM-DD HH:mm:ss",
className: 'datetimepicker'
})