Update CoyIM's current time when OS time or timezone changes
olabiniV2 opened this issue · comments
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.
It's not clear if time.Now()
returns the correct value if the time is changed without modifying the time zone.
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.