UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 322 B
var formatRelativeLocale = { lastWeek: "'geçen hafta' eeee 'saat' p", yesterday: "'dün saat' p", today: "'bugün saat' p", tomorrow: "'yarın saat' p", nextWeek: "eeee 'saat' p", other: 'P' }; export default function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }