export { default, momentCalendar } from 'ember-moment/helpers/moment-calendar';

import Ember from 'ember';
import config from '../config/environment';
import CalendarHelper from 'ember-moment/helpers/moment-calendar';

export default CalendarHelper.extend({
  globalAllowEmpty: !!Ember.get(config, 'moment.allowEmpty')
});

Extend the CalendarHelper with global allowEmpty from config.
Extend the CalendarHelper with global allowEmpty from config.