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:
@ -3,7 +3,7 @@ import { DateTime } from 'luxon'
|
||||
export default class DateTimeWrapper {
|
||||
|
||||
constructor({ locale, text }) {
|
||||
this.dateTime = DateTime.fromISO(text, { locale })
|
||||
this.dateTime = DateTime.fromISO(text, { locale, setZone: true })
|
||||
}
|
||||
|
||||
getShortDate() {
|
||||
|
Reference in New Issue
Block a user