diff options
Diffstat (limited to 'date-fns/src/locale/mn/_lib/formatRelative/index.js')
-rw-r--r-- | date-fns/src/locale/mn/_lib/formatRelative/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/date-fns/src/locale/mn/_lib/formatRelative/index.js b/date-fns/src/locale/mn/_lib/formatRelative/index.js new file mode 100644 index 0000000..52461ba --- /dev/null +++ b/date-fns/src/locale/mn/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'өнгөрсөн' eeee 'гарагийн' p 'цагт'", + yesterday: "'өчигдөр' p 'цагт'", + today: "'өнөөдөр' p 'цагт'", + tomorrow: "'маргааш' p 'цагт'", + nextWeek: "'ирэх' eeee 'гарагийн' p 'цагт'", + other: 'P' +} + +export default function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token] +} |