timepiece/node_modules/date-fns/locale/nn/_lib/formatRelative.js

16 lines
385 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "'førre' eeee 'kl.' p",
yesterday: "'i går kl.' p",
today: "'i dag kl.' p",
tomorrow: "'i morgon kl.' p",
nextWeek: "EEEE 'kl.' p",
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;