index.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
  3. Object.defineProperty(exports, "__esModule", {
  4. value: true
  5. });
  6. exports.default = void 0;
  7. var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js"));
  8. var dateFormats = {
  9. full: "y 'оны' MMMM'ын' d, EEEE 'гараг'",
  10. long: "y 'оны' MMMM'ын' d",
  11. medium: "y 'оны' MMM'ын' d",
  12. short: 'y.MM.dd'
  13. };
  14. var timeFormats = {
  15. full: 'H:mm:ss zzzz',
  16. long: 'H:mm:ss z',
  17. medium: 'H:mm:ss',
  18. short: 'H:mm'
  19. };
  20. var dateTimeFormats = {
  21. full: '{{date}} {{time}}',
  22. long: '{{date}} {{time}}',
  23. medium: '{{date}} {{time}}',
  24. short: '{{date}} {{time}}'
  25. };
  26. var formatLong = {
  27. date: (0, _index.default)({
  28. formats: dateFormats,
  29. defaultWidth: 'full'
  30. }),
  31. time: (0, _index.default)({
  32. formats: timeFormats,
  33. defaultWidth: 'full'
  34. }),
  35. dateTime: (0, _index.default)({
  36. formats: dateTimeFormats,
  37. defaultWidth: 'full'
  38. })
  39. };
  40. var _default = formatLong;
  41. exports.default = _default;
  42. module.exports = exports.default;