Set post-settings date to 12:00

This commit is contained in:
ericterpstra 2013-09-17 18:54:01 -05:00
parent a4aefb2b8e
commit 371f8ce0b1

View File

@ -112,7 +112,8 @@
// Save new 'Published' date
this.model.save({
published_at: momentPubDate.toDate()
// Temp Fix. Set hour to 12 instead of 00 to avoid some TZ issues.
published_at: momentPubDate.hour(12).toDate()
}, {
success : function (model, response, options) {
pubDateEl.value = moment(model.get('published_at')).format("DD MMM YY");