UNPKG

date-fns

Version:

Modern JavaScript date utility library

12 lines (10 loc) 374 B
const formatRelativeLocale = { lastWeek: "'წინა' eeee p'-ზე'", yesterday: "'გუშინ' p'-ზე'", today: "'დღეს' p'-ზე'", tomorrow: "'ხვალ' p'-ზე'", nextWeek: "'შემდეგი' eeee p'-ზე'", other: "P", }; export const formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];