mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Set post-settings date to 12:00
This commit is contained in:
parent
a4aefb2b8e
commit
371f8ce0b1
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue