1
0
Fork 0

Better title for the date component

This commit is contained in:
Chocobozzz 2023-10-09 10:12:10 +02:00
parent 9b879f69c4
commit e6b455b4ea
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -24,9 +24,11 @@ export class DateToggleComponent implements OnChanges {
}
getTitle () {
return this.toggled
const target = this.toggled
? this.dateRelative
: this.dateAbsolute
return $localize`Toggle this date format to "${target}"`
}
getContent () {