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

Implement type fallback for TimeZoneFormat #983

Open
nordzilla opened this issue Aug 25, 2021 · 0 comments
Open

Implement type fallback for TimeZoneFormat #983

nordzilla opened this issue Aug 25, 2021 · 0 comments
Assignees
Labels
blocked A dependency must be resolved before this is actionable C-time-zone Component: Time Zones help wanted Issue needs an assignee S-medium Size: Less than a week (larger bug fix or enhancement) T-core Type: Required functionality

Comments

@nordzilla
Copy link
Member

nordzilla commented Aug 25, 2021

The UTS-35 Spec defines type fallback for when certain time variants are requested, but not available.

We are able to perform the first step of type fallback in the data provider itself, however part 2 of type fallback requires context to the exact datetime being formatted.

We should support the full type-fallback algorithm in our runtime formatting, independent of the optimizations we do in data provider. In other words, data provider can help reduce the number of fallbacking steps by smartly pre-packaging the data, but we still need to support the full algorithm.

Part 2 of type fallback requires being able to tell when the next and previous daylight offset changes are, which depends on

@nordzilla nordzilla added C-datetime Component: datetime, calendars, time zones help wanted Issue needs an assignee S-medium Size: Less than a week (larger bug fix or enhancement) T-core Type: Required functionality blocked A dependency must be resolved before this is actionable labels Aug 25, 2021
@nordzilla nordzilla added this to the ICU4X 0.5 milestone Aug 26, 2021
@nordzilla nordzilla modified the milestones: ICU4X 0.5, ICU4X 1.0 Jan 20, 2022
@sffc sffc added C-time-zone Component: Time Zones and removed C-datetime Component: datetime, calendars, time zones labels Dec 22, 2022
@robertbastian robertbastian self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked A dependency must be resolved before this is actionable C-time-zone Component: Time Zones help wanted Issue needs an assignee S-medium Size: Less than a week (larger bug fix or enhancement) T-core Type: Required functionality
Projects
None yet
Development

No branches or pull requests

3 participants