Bumping again,
Why has this still not been added? In terms of date formats, most people in the world are accustomed to DMY or YMD (ascending/descending importance) format. According to this Wikipedia article there are approx. 7.1 billion people globally who use DMY/YMD format. That’s out of 7.6 billion people (or just over 93% of people globally!).
(You’ll notice that Red, Magenta, and Grey make up only a small fraction of MDY countries)
In my view it is entirely unacceptable that with this many people using alternative date formats to MDY (which is neither ascending or descending, which is not at all logical) that ROBLOX still forces people to read in MDY format. The world is not just the United States! The american-centric view of the world has to stop, especially if ROBLOX wants to claim it is global scale company.
Seriously, there is already pre-existing web api’s that allow getting local date format. Here is the MDN web docs page for this API.
At worst I’d hope that atleast using native API’s are used to get local time formats.
Here is example javascript code:
const event = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));
const options = { year: 'numeric', month: 'numeric', day: 'numeric' };
console.log(event.toLocaleDateString(undefined, options));
console.log(event.toLocaleDateString('ar-EG', options));
console.log(event.toLocaleDateString('en-US', options));
console.log(event.toLocaleDateString('en-UK', options));
console.log(event.toLocaleDateString('ko-KR', options));
console.log(event.toLocaleDateString('ja-JP', options));
console.log(event.toLocaleDateString('ja-JP-u-ca-japanese', options));
(Date.UTC uses 0-11 for months)
Output:
> "12/20/2012"
> "٢٠/١٢/٢٠١٢"
> "12/20/2012"
> "20/12/2012"
> "2012. 12. 20."
> "2012/12/20"
> "H24/12/20"
Localization is important!
As well as Date.prototype.toLocaleDateString()
Roblox should be using Date.prototype.toLocaleTimeString() for times as well.
Timezone should be clear. Are we talking about PST, EST, BST, GMT, UTC, CEST, KST…?
Bad UX in my view.
(Sorry about this being a direct reply, I haven’t used forum in a while)
Edit:
A script in tamper monkey, which allows you to use ymd, or dmy, with slashes, dashes, or dots:
// ==UserScript==
// @name Fix Roblox Dates
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description Fix MM/DD/YYYY dates as DD/MM/YYYY
// @author You
// @match https://www.roblox.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=roblox.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
//DO NOT DELETE THE ABOVE COMMENTS, THEY ARE USED BY TAMPERMONKEY
//Save everytime you update to apply changes
//options include 'numeric', 'long', short
//for a full list, see: https://pastebin.com/NeSkBRYe
let YMD_S = "en-ZA"; // 2021/09/03
let YMD_D = "sv-SE"; // 2021-09-03
let YMD_F = "hu-HU"; // 2021. 09. 03.
let DMY_SL = "en-GB"; // 03/09/2021
let DMY_SS = "en-IE"; // 3/9/2021
let DMY_DL = "es-CL"; // 03-09-2021
let DMY_DS = "nl-NL"; // 3-9-2021
let DMY_FL = "ro-RO"; // 03.09.2021
let DMY_FS = "de-DE"; // 3.9.2021
let selected = DMY_SL;
//when using anything but numeric, refer to the pastebin as this different for different languages
let options = {year: 'numeric', month: 'short', day: 'numeric'}
let dates = document.getElementsByClassName("date-time-i18n")
for (let i = 0; i < dates.length; i++) {
let the_date = new Date(dates[i].innerHTML)
dates[i].innerHTML = the_date.toLocaleDateString(selected, options)
}
})();
It’s super simple, and it suprises me that this hasn’t been implemented