1
0
mirror of https://github.com/dwaxweiler/connector-mobilizon synced 2025-06-05 21:59:25 +02:00

optionally display the current offset as short name after the time via the general plugin settings

This commit is contained in:
Daniel Waxweiler
2021-05-23 15:37:29 +02:00
parent 0b3c998e56
commit 7795ccc36a
11 changed files with 83 additions and 4 deletions

View File

@ -10,6 +10,10 @@ export default class DateTimeWrapper {
return this.dateTime.toLocaleString(DateTime.DATE_SHORT)
}
getShortOffsetName() {
return this.dateTime.offsetNameShort
}
get24Time() {
return this.dateTime.toLocaleString(DateTime.TIME_24_SIMPLE)
}