0
Fork 0
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:
Hannah Wolfe 2013-11-06 05:36:29 -08:00
commit ff99415fcf

View file

@ -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>.',