aboutsummaryrefslogtreecommitdiff
path: root/node_modules/moment/src/lib/locale/calendar.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/moment/src/lib/locale/calendar.js')
-rw-r--r--node_modules/moment/src/lib/locale/calendar.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/moment/src/lib/locale/calendar.js b/node_modules/moment/src/lib/locale/calendar.js
deleted file mode 100644
index 52c6ba5..0000000
--- a/node_modules/moment/src/lib/locale/calendar.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export var defaultCalendar = {
- sameDay: '[Today at] LT',
- nextDay: '[Tomorrow at] LT',
- nextWeek: 'dddd [at] LT',
- lastDay: '[Yesterday at] LT',
- lastWeek: '[Last] dddd [at] LT',
- sameElse: 'L',
-};
-
-import isFunction from '../utils/is-function';
-
-export function calendar(key, mom, now) {
- var output = this._calendar[key] || this._calendar['sameElse'];
- return isFunction(output) ? output.call(mom, now) : output;
-}