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:
@ -51,3 +51,8 @@ test('#getCurrentDatetimeAsString correct format', t => {
|
||||
t.is(d[19], '.')
|
||||
t.is(d[d.length-3], ':')
|
||||
})
|
||||
|
||||
test('#getShortOffsetName usual time', t => {
|
||||
const d = new DateTimeWrapper({ text: '2020-12-24T16:45:00Z' })
|
||||
t.is(d.getShortOffsetName(), 'UTC')
|
||||
})
|
||||
|
Reference in New Issue
Block a user