0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/views/post-settings-menu-view.js

13 lines
391 B
JavaScript
Raw Normal View History

/* global moment */
import {formatDate} from 'ghost/utils/date-formatting';
var PostSettingsMenuView = Ember.View.extend({
templateName: 'post-settings-menu',
publishedAtBinding: Ember.Binding.oneWay('controller.publishedAt'),
datePlaceholder: function () {
return formatDate(moment());
}.property('controller.publishedAt')
});
export default PostSettingsMenuView;