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

CLDR-17470 Fix day period order in Tamil time format patterns #3577

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

echeran
Copy link
Contributor

@echeran echeran commented Mar 27, 2024

CLDR-17470

  • This PR completes the ticket.

This PR reorders the day period in time formats to follow minutes and seconds and before the time zone, as is standard for Tamil, and which is similar to many other locales.

ALLOW_MANY_COMMITS=true

markusicu
markusicu previously approved these changes Mar 27, 2024
@markusicu
Copy link
Member

@macchiati @AEApple @srl295 is it correct to target main at this time for 45?

@AEApple
Copy link
Contributor

AEApple commented Mar 27, 2024

We haven't branched yet. We need to also fix 'PM', currently 'AM' & 'PM' are treated differently.

@srl295
Copy link
Member

srl295 commented Mar 27, 2024

@macchiati @AEApple @srl295 is it correct to target main at this time for 45?

yes, if it is merged soon.

Copy link
Contributor

@AEApple AEApple left a comment

Choose a reason for hiding this comment

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

Please fix AM/PM inconsistency

@markusicu
Copy link
Member

Please fix AM/PM inconsistency

Wouldn't that be better in a separate PR, so that each PR makes sense on its own, and you need not explain to @echeran what exactly you want him to change?

@echeran
Copy link
Contributor Author

echeran commented Mar 27, 2024

Please fix AM/PM inconsistency

Wouldn't that be better in a separate PR, so that each PR makes sense on its own, ...

I think separate PRs is cleaner for the codebase (the commit messages remain specific enough to be accurate & useful).

If it's acceptable, any followup PR for resolving the AM/PM inconsistency can reuse the same CLDR ticket number, which can reduce overhead on process with tickets.

@srl295
Copy link
Member

srl295 commented Mar 27, 2024

Please fix AM/PM inconsistency

Wouldn't that be better in a separate PR, so that each PR makes sense on its own, ...

I think separate PRs is cleaner for the codebase (the commit messages remain specific enough to be accurate & useful).

If it's acceptable, any followup PR for resolving the AM/PM inconsistency can reuse the same CLDR ticket number, which can reduce overhead on process with tickets.

To expand on this, in the CLDR process, each approved PR becomes a separate commit. So, having two PRs will produce independent commits in the final release. Reusing the commit number is fine if the change is relevant.

@markusicu
Copy link
Member

@macchiati @AEApple I propose that we let Elango merge this PR as is, and make more changes in another PR.

From the ticket:

We will be accepting feedback until Friday March 29th, otherwise the change will be made in 45.

Does this mean we need to wait until Friday before merging?
Or can Elango merge now, and if someone disagrees it gets reverted or otherwise modified again?

@macchiati
Copy link
Member

macchiati commented Mar 27, 2024 via email

@markusicu
Copy link
Member

We could do the merge now if it makes things easier, on the condition that it be backed out if necessary.

IMO: In that case I would wait until the light is truly green.
When do you plan to branch?

But to make the book-keeping easier we should address the PM translation also in this PR, so there is only one thing to back out.

The two problems are not really connected, and thus cleaner as separate PRs; and if one needs to be reverted, the other one is likely not affected, so separate PRs make that easier, too.

@macchiati
Copy link
Member

macchiati commented Mar 27, 2024 via email

@echeran
Copy link
Contributor Author

echeran commented Mar 27, 2024

@AEApple @macchiati PTAL. The change for AM/PM consistency was made to follow CLDR-TC recommendations from this morning.

macchiati
macchiati previously approved these changes Mar 27, 2024
Copy link
Member

@macchiati macchiati left a comment

Choose a reason for hiding this comment

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

LGTM, but don't merge unit we have the go-ahead.

@markusicu
Copy link
Member

@echeran so far has fixed <dayPeriodWidth type="abbreviated"> / <dayPeriod type="pm">
but he found that other widths of am and/or pm are also inconsistent, and some use Tamil strings.
It's a real ransom-note effect. Should they all be fixed together?
In particular, if abbreviated uses ASCII "AM" & "PM", then narrow should use those, too, right?
I guess that wide strings could be different.

With the fix, so far:

  • <dayPeriodContext type="format">
    • <dayPeriodWidth type="abbreviated">
      • <dayPeriod type="am">↑↑↑</dayPeriod>
      • <dayPeriod type="pm">↑↑↑</dayPeriod>
    • <dayPeriodWidth type="narrow">
      • <dayPeriod type="am">மு.ப</dayPeriod>
      • <dayPeriod type="pm">பி.ப</dayPeriod>
    • <dayPeriodWidth type="wide">
      • <dayPeriod type="am">↑↑↑</dayPeriod>
      • <dayPeriod type="pm">↑↑↑</dayPeriod>
  • <dayPeriodContext type="stand-alone">
    • <dayPeriodWidth type="abbreviated">
      • <dayPeriod type="am">முற்பகல்</dayPeriod>
      • <dayPeriod type="pm">↑↑↑</dayPeriod>
    • <dayPeriodWidth type="narrow">
      • <dayPeriod type="am">மு.ப</dayPeriod>
      • <dayPeriod type="pm">பி.ப</dayPeriod>
    • <dayPeriodWidth type="wide">
      • <dayPeriod type="am">முற்பகல்</dayPeriod>
      • <dayPeriod type="pm">↑↑↑</dayPeriod>

@AEApple
Copy link
Contributor

AEApple commented Mar 28, 2024

I would strongly prefer we fix for consistency if we're able to.

@macchiati
Copy link
Member

macchiati commented Mar 28, 2024 via email

@markusicu
Copy link
Member

I would strongly prefer we fix for consistency if we're able to.

So ASCII "AM" & "PM" (="↑↑↑") all the way for CLDR 45?

echeran added 2 commits March 28, 2024 11:20
முற்பகல் / பிற்பகல் do not mean the same in Tamil as the 12 hour clock AM / PM terms
@echeran
Copy link
Contributor Author

echeran commented Mar 28, 2024

I would strongly prefer we fix for consistency if we're able to.

So ASCII "AM" & "PM" (="↑↑↑") all the way for CLDR 45?

I changed am and pm to ASCII "AM" and "PM" for all contexts & widths. I also reverted an unwitting mistake regarding the order of B (flexible day periods) in timeFormat/dateFormat/etc. patterns so that the only changes in this PR should only be about AM/PM (ordering + locale display string).

@markusicu
Copy link
Member

LGTM, but don't merge unit we have the go-ahead.

I assume that we are still waiting until tomorrow morning?

@AEApple
Copy link
Contributor

AEApple commented Mar 28, 2024

We should merge tomorrow if there are no concerns raised.

@AEApple AEApple assigned AEApple and echeran and unassigned AEApple Mar 28, 2024
@markusicu
Copy link
Member

On the ticket, @AydaTolaymat responded

  • checked internally with Tamil speaking colleague at Apple and they approve of the suggested change.
  • Our Tamil vetter agrees with the suggested change.

... so I am going to merge this PR.

@markusicu markusicu merged commit f8c2f22 into unicode-org:main Mar 28, 2024
7 checks passed
@echeran echeran deleted the ta-timeformat-pattern branch March 28, 2024 23:08
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.

5 participants