UNPKG

date-fns

Version:

Modern JavaScript date utility library

20 lines (17 loc) 462 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = formatRelative; var formatRelativeLocale = { lastWeek: "'eelmine' eeee 'kell' p", yesterday: "'eile kell' p", today: "'täna kell' p", tomorrow: "'homme kell' p", nextWeek: "'järgmine' eeee 'kell' p", other: 'P' }; function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; } module.exports = exports.default;