16 lines
379 B
JavaScript
16 lines
379 B
JavaScript
"use strict";
|
|
exports.formatRelative = void 0;
|
|
|
|
const formatRelativeLocale = {
|
|
lastWeek: "'ôfrûne' eeee 'om' p",
|
|
yesterday: "'juster om' p",
|
|
today: "'hjoed om' p",
|
|
tomorrow: "'moarn om' p",
|
|
nextWeek: "eeee 'om' p",
|
|
other: "P",
|
|
};
|
|
|
|
const formatRelative = (token, _date, _baseDate, _options) =>
|
|
formatRelativeLocale[token];
|
|
exports.formatRelative = formatRelative;
|