I’m trying to get the following to diplay the date and time without the timezone:
var d = new Date() console.debug(d.toLocaleString(Qt.locale(“en-US”))
which currently returns
”Friday, June 1, 2018 9:17:44 AM Alaskan Daylight Time”.
If I do something like (but with all the output I want)
It seems to remove the auto-format that I want from toLocaleString.
Is there any way to pass options so that only the actual date/time elements I want to display are actually displayed but the auto-format is preserved?