index.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986
  9. var dateFormats = {
  10. full: 'EEEE d. MMMM y',
  11. long: 'd. MMMM y',
  12. medium: 'd. M. y',
  13. short: 'd. M. y'
  14. };
  15. // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149
  16. var timeFormats = {
  17. full: 'H:mm:ss zzzz',
  18. long: 'H:mm:ss z',
  19. medium: 'H:mm:ss',
  20. short: 'H:mm'
  21. };
  22. // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994
  23. var dateTimeFormats = {
  24. full: '{{date}}, {{time}}',
  25. long: '{{date}}, {{time}}',
  26. medium: '{{date}}, {{time}}',
  27. short: '{{date}} {{time}}'
  28. };
  29. var formatLong = {
  30. date: (0, _index.default)({
  31. formats: dateFormats,
  32. defaultWidth: 'full'
  33. }),
  34. time: (0, _index.default)({
  35. formats: timeFormats,
  36. defaultWidth: 'full'
  37. }),
  38. dateTime: (0, _index.default)({
  39. formats: dateTimeFormats,
  40. defaultWidth: 'full'
  41. })
  42. };
  43. var _default = formatLong;
  44. exports.default = _default;
  45. module.exports = exports.default;