UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 326 B
var formatRelativeLocale = { lastWeek: "eeee 'pase nan lè' p", yesterday: "'yè nan lè' p", today: "'jodi a' p", tomorrow: "'demen nan lè' p'", nextWeek: "eeee 'pwochen nan lè' p", other: 'P' }; export default function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }