UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 294 B
var formatRelativeLocale = { lastWeek: "'Praėjusį' eeee p", yesterday: "'Vakar' p", today: "'Šiandien' p", tomorrow: "'Rytoj' p", nextWeek: 'eeee p', other: 'P' }; export default function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }