mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Set post-settings date to 12:00
This commit is contained in:
parent
a4aefb2b8e
commit
371f8ce0b1
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user