This commit is contained in:
morgan
2026-03-13 19:23:37 +03:00
parent 8917f1631f
commit cc7403191a
5113 changed files with 168404 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
import type { FormatDistanceFn } from "../../types.js";
export declare const formatDistance: FormatDistanceFn;

View File

@@ -0,0 +1,11 @@
const formatRelativeLocale = {
lastWeek: "'өнгөрсөн' eeee 'гарагийн' p 'цагт'",
yesterday: "'өчигдөр' p 'цагт'",
today: "'өнөөдөр' p 'цагт'",
tomorrow: "'маргааш' p 'цагт'",
nextWeek: "'ирэх' eeee 'гарагийн' p 'цагт'",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];