mirror of
https://github.com/TryGhost/Ghost.git
synced 2023-12-13 21:00:40 +01:00
Merge pull request #805 from ericterpstra/774-post-date-output-bug
Set post-settings date to 12:00
This commit is contained in:
commit
092ee2e6e7
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…
Reference in a new issue