Hi Trizek,
I just saw your announcement on yuewiki. I’m wondering where I should go if I want to fix the date formatting, or is this something that needs to be fixed at the source code level? Thanks!
Hi Trizek,
I just saw your announcement on yuewiki. I’m wondering where I should go if I want to fix the date formatting, or is this something that needs to be fixed at the source code level? Thanks!
Never mind, I found it; I wish I knew this was going out before it went out, but I’d still like to know if there’s a way to fix $defaultformat at the source
Hello Al12si.
We can change $defaultformat to match yue language. Just let me know what the format should be.
We use PHP formatting for #time. For instance, {{#time:H:i e|2023-03-01T14:00}}
displays 14:00 UTC. Numerous options are provided to format the time the way you need it.
And good news: fixing it no means that is will be fixed once for good for future announcements.
Hi Trizek,
In yue a short date (month and day) looks like this:
n月j號
A long date (year, month and day) looks like this:
Y年n月j號
(yue is kind of an exception; in most other CJK languages that use kanji (ja, lzh and zh) these would read n月j日
and Y年n月j日
instead. 號 literally means “number”, as in the day number within the month; 日, used in ja, lzh and zh, literally means “day”.)
(ko is in theory the same as ja/zh but they spell it in Hangul instead of using kanji.)
You can verify this by checking recent Tech News editions for yue, ja and zh etc. I know this is also affecting ja (I’ve fixed the ja announcement); I don’t know if this is affecting zh and ko.
If it involves time, it goes after the date. Time zone is a bit tricky though; I don’t think there’s anything that matches how I hear it said, so I guess we can keep time zone as-is.
(The way I’ve heard it said puts time zone first, but we don’t use the English zone names so that’s a no-go; I’ve also heard it said as a numeric offset, but we only say the number of hours, so that’s also a no-go.)
Thank you for the explanations, and the updates.
I checked on this message, and it should display the name of the day, the number of the day, the name of the month, and the year (as in "Wednesday 1 March 2023"). Can you fix it?
Regarding the timezone, car we assume that most yue users live in certain timezones? Some languages adapted the announcement regarding times to highlight places where the language is most spoken (for instance, French highlights Québec, Western Europe, Western Africa and Central Africa).
Fixed.
As to the timezone, yes, most yue users would live in GMT+8, but I’m not sure what best to call it. We could call it 加八時區 (lit. “[the] +8 timezone”, I’ve heard it called this); or we could could pick a region, but that would be a political decision (as in literally political, as in siding with a certain political ideology).
BTW, if we need year and date-of-the-week for that string, the Japanese translation needs to be fixed too. I fixed it (I don’t speak Japanese, but date strings are cognate within all CJK languages); you might or might not want to get someone to double-check my fix.
That string is also broken in Korean (I just checked it), but I’ll not be able to fix Korean. Their dates are also cognate but they spell everything in an alphabet and I won’t know how anything is spelled.
Thank you for the fix. For the timzeone, it could literally use the mention of local time and the UTC time: "22:00 local time (14:00 UTC)". What do you think ?
I'll find a Japanese and a Korean speaker to fix the strings, thank you for spotting them.