mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Merge pull request #1338 from halfdan/1335-publish-date-format
Properly format publish date.
This commit is contained in:
commit
ff99415fcf
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@
|
|||
}, {
|
||||
success : function (model, response, options) {
|
||||
/*jslint unparam:true*/
|
||||
pubDateEl.value = moment(model.get('published_at'), parseDateFormats).format(displayDateFormat);
|
||||
pubDateEl.value = moment(model.get('published_at')).format(displayDateFormat);
|
||||
Ghost.notifications.addItem({
|
||||
type: 'success',
|
||||
message: 'Publish date successfully changed to <strong>' + pubDateEl.value + '</strong>.',
|
||||
|
|
Loading…
Reference in a new issue