Skip to content

Conversation

@mosuem
Copy link
Contributor

@mosuem mosuem commented Jan 22, 2026

Description

Removing package:intl for non-internationalized formatting and parsing.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-devrel channel on Discord.

@mosuem mosuem changed the title Remove package:intl dependency Remove package:intl dependency Jan 22, 2026
@mosuem
Copy link
Contributor Author

mosuem commented Jan 22, 2026

I don't quite understand the CI changes though - @gspencergoog any ideas?

},
'date-time': (value) => DateTime.tryParse(value) != null,
'date': (value) => DateTime.tryParse(value) != null,
'time': (value) => DateTime.tryParse('0000-01-01T$value') != null,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Won't this now allow a "Z" where it didn't used to?

For instance, before it would have failed to parse the time "12:34:56Z", but now it will succeed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The behavior before was kind of undefined and depended on the locale's interpretation of the HH:mm:ss skeleton. I think this should be more precise. https://datatracker.ietf.org/doc/html/rfc3339#section-5.6 allows for a Z after the time, if I am not mistaken.

@gspencergoog
Copy link
Collaborator

The CI issues might not be a problem with this PR. It looks like someone messed with the submodule specification or CI setup. I'll investigate.

@gspencergoog
Copy link
Collaborator

The CI issue was just a temporary GitHub outage.

@mosuem
Copy link
Contributor Author

mosuem commented Jan 26, 2026

Thanks for the LGTM! I don't have merge rights here. so feel free to merge.

@gspencergoog gspencergoog merged commit a1de93d into flutter:main Jan 26, 2026
37 checks passed
@mosuem mosuem mentioned this pull request Jan 27, 2026
5 tasks
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