Timelien is one day off

Hello.

Not sure if I have missconfigured something. Timeline shows all events one day later compared to Calendar Month View. Image attached. When I start drag-create an event on timeline it also is moved one day later while dragging. The actual data in the database is correct though. What could be the reason, css?

timeline config:

scheduler.createTimelineView({ name: "timeline", second_scale: { // adding such object to createTimelineView parameters enables second header x_unit: "month", // size of unit which should be used for second scale x_date: "%F" // would be translated to "July 01" for example }, x_unit: "day", x_date: "%d", x_step: 1, x_size: 60, y_unit: persons, y_property:"person", render: "bar", section_autoheight: false, dy:20 });


This was related to CSS. For scheduler.templates.timeline_scaley_class I had a class with padding to move the timeline Y-axis names a bit from beeing all to the left of the screen. This padding also moved the timeline bar.