refs #5517 Show abr month name in relative date
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ae22c58ecb
commit
3cc6191696
|
@ -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`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue