date-fns
Version:
Modern JavaScript date utility library
20 lines (17 loc) • 415 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = formatRelative;
var formatRelativeLocale = {
lastWeek: "'verlede' eeee 'om' p",
yesterday: "'gister om' p",
today: "'vandag om' p",
tomorrow: "'môre om' p",
nextWeek: "eeee 'om' p",
other: 'P'
};
function formatRelative(token) {
return formatRelativeLocale[token];
}
module.exports = exports.default;
;