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

Sirc(fix): Convert IRCv3 received server-time to local timezone (#379) #425

Merged

Conversation

Exagone313
Copy link
Contributor

Closes #379

I'm not sure if g_time_zone_new_local() could be called more globally instead of on each message.

I also wonder if the timezone support handles daylight saving (if you'd keep Srain open when the timezone offset changes, would it keep outputting the right date if the GTimeZone object doesn't change?), though it would be a minor issue if it doesn't.

@SilverRainZ
Copy link
Member

I think calling g_time_zone_new_local for each message is fine -- in this way, timezone changes during Srain's running is not a problem, as well as DST? (I am not sure)

@SilverRainZ SilverRainZ merged commit a7d9482 into SrainApp:master Sep 5, 2024
2 checks passed
@Exagone313 Exagone313 deleted the convert-ircv3-time-to-local-timezone branch September 20, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timestamps have mixed timezones
2 participants