| Type: | Bug | ||
| Reporter: | Connor Steppie | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 28 |
| Labels: | formatting | ||
| Environment: |
Windows 7 Home Premium w/ Java 7 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| CHK: | |||||||||
| Confirmation Status: | Confirmed | ||||||||
| Category: |
UI
|
||||||||
| Mojang Priority: | Low | ||||||||
| Area: | Platform | ||||||||
| Description |
The bugIn the singleplayer world select screen, if your system date is set to ISO 8601 format (YYYY-MM-DD) it will display the dates as mm/dd/yyyy instead of the desired format. |
| Comments |
| Comment by [Mojang] etanaratsastaja [ 26/Jun/24 ] |
|
Is this still an issue? I can't reproduce this on my machines. |
| Comment by user-f2760 (Inactive) [ 19/Aug/23 ] |
|
JIRA is not software that Mojang develops, they merely use it. |
| Comment by Twisted Code [ 19/Aug/23 ] |
|
I've been trying to migrate my stuff to ISO 8601 ever since I read the XKCD comic/PSA about it. On a tangentially related note, can y'all standardize This Very Mojira™'s date format next? I just posted on a bug that's still haunting us from 10 years ago, and had to do a double take to make sure I didn't misinterpret the year. (I can put this aside into an issue of its own if that helps, just tell me what section/tags/whatever, I don't use JIRA much) |
| Comment by Graeme [ 05/Jun/23 ] |
|
I can confirm the same bug on FreeBSD 13.1 and Ubuntu Linux using 1.19.4 and latest 1.20 pre-release. Steps to Reproduce:
Observed Results: Expected Results: I even tried: `setenv LC_TIME=en_DK.UTF-8` (country that uses ISO 8601 date format), and other applications like Thunderbird (email) shows the date format changed, but Minecraft still only displays the dates in United States format.
|
| Comment by user33 [ 24/May/23 ] |
|
Can confirm in 1.20-pre5 |
| Comment by user-f2760 (Inactive) [ 13/Oct/22 ] |
|
To be a bit more clear, this project (MC) is for Java Edition only, Bedrock edition is MCPE. |
| Comment by [Mod] ampolive [ 13/Oct/22 ] |
|
1.19.31 is Bedrock Edition, this bug tracker is for the Java Edition of the game only. |
| Comment by Cries [ 12/Oct/22 ] |
|
I'm playing on v1.19.31 on PC with my computer set to DD/MM/YY format yet the world selector menu confusingly displays the date in MM/DD/YY format. How has this still not been fixed years later when the vast, vast majority of the world doesn't use MM/DD/YY, including the developers of the game themselves? |
| Comment by Ely G [ 12/May/21 ] |
|
The title of this bug should be changed to match that of |
| Comment by Ely G [ 27/Sep/19 ] |
|
My dates display as dd/mm/yy instead of ISO 8601 |
| Comment by [Mod] Asteraoth [ 05/Dec/18 ] |
|
Changed the reporter to Awesoman3000. |
| Comment by Connor Steppie [ 05/Dec/18 ] |
|
Affects 18w49a |
| Comment by Connor Steppie [ 30/Nov/18 ] |
|
Affects 18w48b, can I request ownership of the ticket? |
| Comment by Connor Steppie [ 29/Nov/18 ] |
|
Affects 18w48a |
| Comment by Connor Steppie [ 25/Nov/18 ] |
|
Affects 18w47b |
| Comment by Connor Steppie [ 21/Nov/18 ] |
|
Affects 18w47a |
| Comment by Connor Steppie [ 18/Nov/18 ] |
|
Affects 18w46a |
| Comment by Ely G [ 15/Aug/18 ] |
|
Can confirm for 1.13 and 18w33a. I use ISO 8601 format and 24 hour time on my Windows 10 PC, but Minecraft displays the dates and times as dd/mm/yy and 12 hour time. |
| Comment by [Mod] Michael Wobst [ 17/Jan/18 ] |
|
Splarta, the ticket is yours now. You can update the list of affected versions yourself now. Maybe you can check it with the latest development snapshot if you're familiar with these. |
| Comment by Hops Splurt [ 17/Jan/18 ] |
|
Still unchanged in Minecraft 1.12.2 |
| Comment by [Mod] Michael Wobst [ 16/Jan/18 ] |
|
Is this still an issue in the most recent versions (currently that is 1.12.2, or 18w02a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself. |
| Comment by user33 [ 06/Apr/17 ] |
|
Confirmed for 17w14a |
| Comment by bdm68 [ 13/Mar/17 ] |
|
Still an issue with 1.11.2. Date printing in US format on non-US locales. |
| Comment by Hops Splurt [ 03/Nov/16 ] |
|
Yes, this is still an issue with 1.10.2. |
| Comment by [Mod] Michael Wobst [ 02/Nov/16 ] |
|
Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself. |
| Comment by Hops Splurt [ 01/Jan/15 ] |
|
Suggestion for solution to this issue: Currently Minecraft probably uses a simple call with a fixed format (possibly using SimpleDateFormat) to print the date/time strings in the World Selection screen. Java (naturally) contains calls to print date/time strings in the format as defined by the current Locale. See Class Dateformat. In particular: from Class DateFormat To format a date for the current Locale, use one of the static factory methods: myString = DateFormat.getDateInstance().format(myDate); If you are formatting multiple dates, it is more efficient to get the format and use it multiple times so that the system doesn't have to fetch the information about the local language and country conventions multiple times. DateFormat df = DateFormat.getDateInstance(); for (int i = 0; i < myDate.length; ++i) { output.println(df.format(myDate[i]) + "; "); } I believe putting code similar to the above (probably using getDateTimeInstance() rather than getDateInstance()) in the part of Minecraft where the World Selection screen is generated will solve the issue. For completeness, search the code for "DateFormat" to see if date/time strings are printed anywhere else in Minecraft, and adjust if appropriate. |
| Comment by Hops Splurt [ 01/Jan/15 ] |
|
For completeness, here is a report that follows the guidelines. Report: What I expected to happen was...: What actually happened was...: Steps to Reproduce: Versions of Minecraft affected: Environment: It is probably safe to assume that this issue is independent of the OS and Java environment, and the routine called to print the date/time string does not take localisation settings into account. |
| Comment by Hops Splurt [ 01/Jan/15 ] |
|
Mac OS Language & Region part of System Preferences. Circled are the desired date/time formats which result from the OS settings chosen by the user. The Minecraft World Selection screen does not follow these settings. |
| Comment by Hops Splurt [ 01/Jan/15 ] |
|
Screen shot of World Selection screen showing the undesired date format. |
| Comment by Deleted account [ 30/Apr/14 ] |
|
Is this still a concern in the current Minecraft version 1.7.9 / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by [Mod] Ezekiel (ezfe) [ 26/Feb/14 ] |
|
Is this still a concern in the latest Minecraft version 14w08a? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by [Mod] Torabi [ 11/Jan/14 ] |
|
I can confirm that this issue exists in the current snapshot (14w02c). I am using "yyyy-MM-dd" for my short date format, and "H:mm" for short time, but the Minecraft world selection screen displays the last saved time in the format "mm/dd/yy H:mm tt". So it's not respecting system settings for date and time formats, which could be particularly confusing to users in regions where the day is listed before the month. |
| Comment by [Mod] Ezekiel (ezfe) [ 11/Jan/14 ] |
|
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. Should your issue return please submit a new complete ticket with all available information. |
| Comment by Talven81 [ 26/Nov/13 ] |
|
Is this still a concern in the current Minecraft version 1.7.2 / Launcher version 1.3.4 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by dirk (switched to Minetest) [ 20/Mar/13 ] |
|
Confirmed for 1.5.1-pre on Linux. $ java -version $ uname -rms $ echo $LC_DATE (en_DK defines ISO-8601 date and time representation) |
| Comment by Tails [ 03/Jan/13 ] |
|
Please do not mark unreleased versions as affected. You do not have access to this yet. |