UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 344 B
var formatRelativeLocale = { lastWeek: "eeee 'שעבר בשעה' p", yesterday: "'אתמול בשעה' p", today: "'היום בשעה' p", tomorrow: "'מחר בשעה' p", nextWeek: "eeee 'בשעה' p", other: 'P' }; export default function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }