Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sort: add locale-aware month parsing using ICU#9722

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ChrisDryden wants to merge1 commit intouutils:main
base:main
Choose a base branch
Loading
fromChrisDryden:sort-locale-month

Conversation

@ChrisDryden
Copy link
Contributor

@ChrisDrydenChrisDryden commentedDec 19, 2025
edited
Loading

This PR is to address the lack of locale information when using the -M option in sort since all of the months were hardcoded to the english months. This PR introduces a new dependency icu_datetime to be able to get all of the month locale information.

Originally when trying to fix the associated GNU test it wasn't working because nl was removing non-utf8 characters. Now that the nl issue was addressed this should fix that GNU test.

When implementing this, choices were made that were maybe not the most efficient, but more readable and I think thats the better choice for this type of solution because there will only be a maximum of 12 comparisons when implementing this type of sorting.

@ChrisDryden
Copy link
ContributorAuthor

Going to have to wait and rebase until this PR is in:#9720

@sylvestre
Copy link
Contributor

i will have a look once the jobs are green but the approach looks perfect!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ChrisDryden@sylvestre

[8]ページ先頭

©2009-2025 Movatter.jp