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

let luxon take zone from string

This commit is contained in:
Daniel Waxweiler
2021-05-05 10:13:16 +02:00
parent bc86f8e7c9
commit 22c0b22b8e
4 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ test('#getShortDate usual date', t => {
test('#get24Time usual time', t => {
const d = new DateTimeWrapper({ locale: 'en-GB', text: '2020-12-24T16:45:00Z' })
t.is(d.get24Time(), '17:45')
t.is(d.get24Time(), '16:45')
})
test('#equalsDate same date, different time', t => {