blob: 14de903bffca4eecb5a8526a53808b8880d85ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var formatRelativeLocale = {
lastWeek: "'síðasta' dddd 'kl.' p",
yesterday: "'í gær kl.' p",
today: "'í dag kl.' p",
tomorrow: "'á morgun kl.' p",
nextWeek: "dddd 'kl.' p",
other: 'L'
}
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token]
}
|