summaryrefslogtreecommitdiff
path: root/www/lib/moment/src/lib/locale/calendar.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-04-18 09:42:22 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-04-18 09:42:22 -0400
commit38d3feaa47e87e037c6fe4b320ad88417d565ea5 (patch)
tree83f98a9f25ddfacfef835b5bfcc2edd8336c8e81 /www/lib/moment/src/lib/locale/calendar.js
parenta86a09b90283950364b5bfdaf9904f13de2ce2fc (diff)
libs tbd cleanup
Diffstat (limited to 'www/lib/moment/src/lib/locale/calendar.js')
-rw-r--r--www/lib/moment/src/lib/locale/calendar.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/lib/moment/src/lib/locale/calendar.js b/www/lib/moment/src/lib/locale/calendar.js
new file mode 100644
index 00000000..22545b96
--- /dev/null
+++ b/www/lib/moment/src/lib/locale/calendar.js
@@ -0,0 +1,13 @@
+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'
+};
+
+export function calendar (key, mom, now) {
+ var output = this._calendar[key];
+ return typeof output === 'function' ? output.call(mom, now) : output;
+}