-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"today" calculated relative to UTC rather than system time #56
Comments
Just to be sure what you are saying: you are seeing the css part 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 |
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. |
May I ask if there's any likelihood of this being addressed within the next few months? |
Apologies, I started a new job and my personal laptop died on me. Between the two I haven't had a great deal of time to work on Cally. A PR is most definitely welcome! If you could limit it to just fixing the immediate bug for now. We can worry about configuration later. |
@gavrichards I had some spare time, and the fix turned out to be simple (at least in my testing). Will release momentarily |
Oh fantastic, thank you so much! |
Try |
I can confirm it's working nicely, thank you again. |
Glad to hear! Excuse the delay :) |
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!
The text was updated successfully, but these errors were encountered: