mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
fb6c3c6b56
Closes #3417
14 lines
461 B
JavaScript
14 lines
461 B
JavaScript
/* global moment */
|
|
import {formatDate} from 'ghost/utils/date-formatting';
|
|
|
|
var PostSettingsMenuView = Ember.View.extend({
|
|
templateName: 'post-settings-menu',
|
|
//@TODO Changeout the binding for a simple computedOneWay?
|
|
publishedAtBinding: Ember.Binding.oneWay('controller.publishedAt'),
|
|
datePlaceholder: Ember.computed('controller.publishedAt', function () {
|
|
return formatDate(moment());
|
|
})
|
|
});
|
|
|
|
export default PostSettingsMenuView;
|