aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/locale/formats.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/locale/formats.js')
-rw-r--r--library/moment/src/lib/locale/formats.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/library/moment/src/lib/locale/formats.js b/library/moment/src/lib/locale/formats.js
deleted file mode 100644
index 6d83b0394..000000000
--- a/library/moment/src/lib/locale/formats.js
+++ /dev/null
@@ -1,23 +0,0 @@
-export var defaultLongDateFormat = {
- LTS : 'h:mm:ss A',
- LT : 'h:mm A',
- L : 'MM/DD/YYYY',
- LL : 'MMMM D, YYYY',
- LLL : 'MMMM D, YYYY h:mm A',
- LLLL : 'dddd, MMMM D, YYYY h:mm A'
-};
-
-export function longDateFormat (key) {
- var format = this._longDateFormat[key],
- formatUpper = this._longDateFormat[key.toUpperCase()];
-
- if (format || !formatUpper) {
- return format;
- }
-
- this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
- return val.slice(1);
- });
-
- return this._longDateFormat[key];
-}