refs #5517 Show abr month name in relative date
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-04-04 19:01:19 +02:00
parent ae22c58ecb
commit 3cc6191696
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ export default class Controller extends Section {
else if (diff >= 2 && diff <= 5)
format = `'${date.toLocaleDateString(this.lang, {weekday: 'short'})}'`;
else if (this.today.getFullYear() == date.getFullYear())
format = `dd/MM`;
format = `d '${date.toLocaleDateString(this.lang, {month: 'short'})}'`;
else
format = `dd/MM/yyyy`;