Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

16 lines
384 B
JavaScript

"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "'oldingi' eeee p 'da'",
yesterday: "'kecha' p 'da'",
today: "'bugun' p 'da'",
tomorrow: "'ertaga' p 'da'",
nextWeek: "eeee p 'da'",
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;