Skip to content

Conversation

@kyledoesdev
Copy link
Owner

Improves timezone detection by introducing a dedicated TimezoneService. This service handles IP-based timezone retrieval and sanitization, including handling local development environments and API failures gracefully. It utilizes the once() helper for caching, ensuring efficiency. The timezone() helper function now leverages the TimezoneService, simplifying its logic. Also includes a fix for the 'Europe/Kiev' timezone.

Improves timezone detection by introducing a dedicated TimezoneService. This service handles IP-based timezone retrieval and sanitization, including handling local development environments and API failures gracefully. It utilizes the once() helper for caching, ensuring efficiency. The timezone() helper function now leverages the TimezoneService, simplifying its logic. Also includes a fix for the 'Europe/Kiev' timezone.
@kyledoesdev kyledoesdev merged commit 96c1d8f into master Jan 19, 2026
1 check passed
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.

2 participants