Skip to content
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

Update CoyIM's current time when OS time or timezone changes #810

Open
olabiniV2 opened this issue Sep 10, 2021 · 3 comments
Open

Update CoyIM's current time when OS time or timezone changes #810

olabiniV2 opened this issue Sep 10, 2021 · 3 comments

Comments

@olabiniV2
Copy link
Contributor

No description provided.

@olabiniV2
Copy link
Contributor Author

We should check if g_date_time_new_now_local returns updated values when the current OS time zone changes. It might help us implement this. If this works, we should implement our own Clock data structure that can help us with these things.

@olabiniV2
Copy link
Contributor Author

It's not clear if time.Now() returns the correct value if the time is changed without modifying the time zone.

@olabiniV2
Copy link
Contributor Author

After looking in to it, it seems that time.Now() will certainly return - or at least use - the wall clock time. This signifies that if a user changes the current system time, but not the timezone, we will get this information correctly. However, we might still need to keep track of all timestamps to be able to update them if the time.Now changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant