12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- "use strict";
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.default = void 0;
- var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js"));
- var dateFormats = {
- full: "y'年'M'月'd'日' EEEE",
- long: "y'年'M'月'd'日'",
- medium: 'yyyy-MM-dd',
- short: 'yy-MM-dd'
- };
- var timeFormats = {
- full: 'zzzz a h:mm:ss',
- long: 'z a h:mm:ss',
- medium: 'a h:mm:ss',
- short: 'a h:mm'
- };
- var dateTimeFormats = {
- full: '{{date}} {{time}}',
- long: '{{date}} {{time}}',
- medium: '{{date}} {{time}}',
- short: '{{date}} {{time}}'
- };
- var formatLong = {
- date: (0, _index.default)({
- formats: dateFormats,
- defaultWidth: 'full'
- }),
- time: (0, _index.default)({
- formats: timeFormats,
- defaultWidth: 'full'
- }),
- dateTime: (0, _index.default)({
- formats: dateTimeFormats,
- defaultWidth: 'full'
- })
- };
- var _default = formatLong;
- exports.default = _default;
- module.exports = exports.default;
|