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

Unclear time zone placeholders #3892

Closed
opensdh opened this issue Mar 20, 2020 · 1 comment
Closed

Unclear time zone placeholders #3892

opensdh opened this issue Mar 20, 2020 · 1 comment

Comments

@opensdh
Copy link
Contributor

opensdh commented Mar 20, 2020

[time.zone.db.tzdb]/2 says

If a time_zone tz is found …

(and similarly for time_zone_link). The space between the two \tcodes not being visible in the draft, it's hard to see that this is a placeholder. (The paper uses commas, which are also confusing and were understandably left out of the editing.) Can we use other placeholders (Z and L would be an improvement, even though they have to be in code font) or a rephrasing like "(call it tz)"?

@zygoloid
Copy link
Member

There's a larger problem with this wording: found where? I think the intent is pretty obvious, but we fail to actually express it. To solve both problems, I'm going with:

If zones contains an element tz for which [...]
otherwise, if links contains an element tz_l for which tz_l.name() == tz_name, then a pointer to the element tz of zones for which [...]

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

No branches or pull requests

2 participants