UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 307 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]; }