index.js 519 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var formatRelativeLocale = {
  7. lastWeek: "'oldingi' eeee p 'da'",
  8. yesterday: "'kecha' p 'da'",
  9. today: "'bugun' p 'da'",
  10. tomorrow: "'ertaga' p 'da'",
  11. nextWeek: "eeee p 'da'",
  12. other: 'P'
  13. };
  14. var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
  15. return formatRelativeLocale[token];
  16. };
  17. var _default = formatRelative;
  18. exports.default = _default;
  19. module.exports = exports.default;