Well, if you run this Javascript:
    Intl.DateTimeFormat([],{"timeStyle":"medium"}).format(new Date())
By contrast, this should return it formatted with the defaults for your locale, ignoring your user preferences:
    Intl.DateTimeFormat(navigator.language,{"timeStyle":"medium"}).format(new Date())
I know the same works on Windows, and I’m sure it works on Linux too, just the way you configure it is different for each OS.
> It should return the current time, formatted according to your locale and user preferences.
It does not for me! (I get 12 hour based time in Safari, Firefox, and Chrome, despite having 24 hours configured at the macOS system level.)
I have no idea what is going on then… works for me
maybe has something to do with OS or browser versions?
or maybe (for some reason) this works for some locales but not others?