Skip to content

Conversation

colrdavidson
Copy link
Member

No description provided.

@colrdavidson colrdavidson marked this pull request as ready for review July 5, 2025 21:00
@colrdavidson colrdavidson changed the title move to region_load_local Timezone API: Drop region_load("local"), move to region_load_local() Jul 5, 2025
str, err2 := strings.clone("UTC", allocator)
if err2 != nil { return }
return str, true
local_tz_name :: proc(check_env: bool, allocator := context.allocator) -> (name: string, success: bool) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this check_env was added, I don't see a real use case (when would you not check env?) and am not a fan of bool flags (because reading local_tz_name(true) is hard, what does true mean)

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