-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Issue due-dates are shown in English regardless of current language #5670
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
The relevant template for issues is gitea/templates/shared/issuelist.tmpl Lines 101 to 108 in 73382d2
and for milestones
FormatShort is defined in gitea/modules/timeutil/timestamp.go Lines 89 to 92 in 73382d2
and Deadline in gitea/models/issues/milestone.go Line 91 in 73382d2
I can see |
Two choices:
Each of them has Pros/Cons. A similar problem: #17760 |
Are, the joy of internationalisation. Okay, your PR appears to be almost ready for merge. I'll put this on the backburner for now. |
I fixed this |
Description
Due-dates shown on the Issues page are shown in English regardless of the currently used UI language.
Switch to any non-English language (from the language switcher at the bottom of the page) and the dates are still shown in their English format (e.g. Jan 09, 2019)
Somewhat related: Milestone due-dates don't use the same date format as issues but are instead display in a more universal format (e.g. 2019-01-23), so it's more readable in any language, but perhaps they should be unified to use the same date display template?
...
Screenshots
Issues (Japanese UI) shows English language.
Milestones (Japanese UI) shows generic/unformatted date.
The text was updated successfully, but these errors were encountered: