diff options
Diffstat (limited to 'node_modules/date-fns/locale/_lib/buildFormatLongFn')
| -rw-r--r-- | node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js b/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js deleted file mode 100644 index 5f7cab1..0000000 --- a/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = buildFormatLongFn; -function buildFormatLongFn(args) { - return function () { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - // TODO: Remove String() - var width = options.width ? String(options.width) : args.defaultWidth; - var format = args.formats[width] || args.formats[args.defaultWidth]; - return format; - }; -} -module.exports = exports.default;
\ No newline at end of file |
