Skip to content

Commit a1adebc

Browse files
committed
fixup! fix(freebusy): time zone handling
1 parent a1bb992 commit a1adebc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/Editor/FreeBusy/FreeBusy.vue

+1-3
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,10 @@ export default {
394394
* @return {object}
395395
*/
396396
options() {
397-
const timezone = getTimezoneManager().getTimezoneForId(this.timezoneId)
398-
399397
return {
400398
// Initialization:
401399
initialView: 'resourceTimelineDay',
402-
initialDate: this.currentStart.getInTimezone(timezone).jsDate,
400+
initialDate: this.currentStartInUserTimezone,
403401
schedulerLicenseKey: 'GPL-My-Project-Is-Open-Source',
404402
// Data
405403
eventSources: this.eventSources,

0 commit comments

Comments
 (0)