timepiece/node_modules/date-fns/locale/km/_lib/formatRelative.mjs

12 lines
505 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
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];