UNPKG

date-fns

Version:

Modern JavaScript date utility library

16 lines (13 loc) 519 B
"use strict"; exports.formatRelative = void 0; const formatRelativeLocale = { lastWeek: "'கடந்த' eeee p 'மணிக்கு'", yesterday: "'நேற்று ' p 'மணிக்கு'", today: "'இன்று ' p 'மணிக்கு'", tomorrow: "'நாளை ' p 'மணிக்கு'", nextWeek: "eeee p 'மணிக்கு'", other: "P", }; const formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token]; exports.formatRelative = formatRelative;