32ced2ff411b45172ec503e0f376dfb8a4088f5b04ab69235873718005868e2971473b19c7608a26a35e453b3b2f68a7d545b76419c5e2cdb3f3b84f45f5a0 442 B

123456789101112131415
  1. export var defaultCalendar = {
  2. sameDay: '[Today at] LT',
  3. nextDay: '[Tomorrow at] LT',
  4. nextWeek: 'dddd [at] LT',
  5. lastDay: '[Yesterday at] LT',
  6. lastWeek: '[Last] dddd [at] LT',
  7. sameElse: 'L',
  8. };
  9. import isFunction from '../utils/is-function';
  10. export function calendar(key, mom, now) {
  11. var output = this._calendar[key] || this._calendar['sameElse'];
  12. return isFunction(output) ? output.call(mom, now) : output;
  13. }