Open MatiasWettstein opened 3 months ago
Just to be sure what you are saying: you are seeing the css part today
being applied to the wrong date?
If so, I think this is a bug and should be fixed, rather than exposing some timezone property
Yes, for example in my case I'm in the UTC-3 zone and when I use the calendar after 9 PM the CSS part today
indicates the next day, I assume it is because it detects the 00:00 of the next day.
Got it! Sounds like a bug then. I think it's calculating today based on UTC time. I can change this to make the calculation relative to system time instead.
We would love to see this change. We have users all over the world, so showing today's date in UTC will confuse many of them. What would be ideal is if it defaulted to the user's time zone, but there was a way of passing in a time zone as an attribute to use instead, should we wish to force the calendar to act as though it's in a defined time zone.
Can we define the default time zone for the calendar?
For example, in the calendar, I have the "today" part, but in my case, I need to set the default TZ at UTC-3, because it detects the next day at 9:00 PM of the current day.
Is this something that is planned to be implemented into cally?
Thanks!