mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -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) {
|
success : function (model, response, options) {
|
||||||
/*jslint unparam:true*/
|
/*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({
|
Ghost.notifications.addItem({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: 'Publish date successfully changed to <strong>' + pubDateEl.value + '</strong>.',
|
message: 'Publish date successfully changed to <strong>' + pubDateEl.value + '</strong>.',
|
||||||
|
|
Loading…
Add table
Reference in a new issue