date-fns
Version:
Modern JavaScript date utility library
14 lines (12 loc) • 384 B
JavaScript
var formatRelativeLocale = {
lastWeek: "eeee 'שעבר בשעה' p",
yesterday: "'אתמול בשעה' p",
today: "'היום בשעה' p",
tomorrow: "'מחר בשעה' p",
nextWeek: "eeee 'בשעה' p",
other: 'P'
};
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
};
export default formatRelative;