| Summary: | Proper time formatting for locales where AMPM is going in front of time value | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Shinjo Park <kde> |
| Component: | Digital Clock widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | momo.cao, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=393956 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Shinjo Park
2019-06-13 19:52:21 UTC
Hello Shinjo. Do you know if there's a resource that lists locales that show AM/PM this way? I've been looking at CLDR (http://cldr.unicode.org/translation/date-time-1/date-time-patterns) but I cannot find data about the AM/PM order. (In reply to momo from comment #1) > Hello Shinjo. Do you know if there's a resource that lists locales that show > AM/PM this way? I've been looking at CLDR > (http://cldr.unicode.org/translation/date-time-1/date-time-patterns) but I > cannot find data about the AM/PM order. "hour minute" of the CLDR Date/Time Chart [1] or "hm"/"hms" formatting of "Date & Time" should be suffice. [1] https://unicode-org.github.io/cldr-staging/charts/latest/verify/dates/ko.html [2] https://st.unicode.org/cldr-apps/v#/ko/Gregorian/6cdad6946fa0fe82 Can confirm. When forcing or inheriting 12-hour style, we assume that the AM/PM does after the time. I wonder if we can detect this from the locale... We also assume seconds to the right of minutes to the right of hours (LTR style) Fix incoming |