cursed js thing i just discovered

@emily@fedi.uni.horse

Content warning: cursed js thing i just discovered

So there's this thing where JS provides no way to get the current *local* time in ISO format, only the current *UTC* time, but you can fake it by getting the current local time in the Swedish locale, which is almost ISO format (you can then `.replace(" ", "T")` if you care about the difference). It accepts either 2-letter or 3-letter country codes.

```
> d.toLocaleString("sv")
'2026-10-05 14:06:12'
> d.toLocaleString("swe")
'2026-10-05 14:06:12'
```

If you don't give it a locale, you get the local locale. I am in the US, where we have this terrible date format:
```
> d.toLocaleString()
'10/5/2026, 14:06:12'
```

If you give it an invalid country code, you get an exception, which makes sense.
```
> d.toLocaleString("asdf")
Uncaught RangeError: Incorrect locale information provided
```

... but "invalid" here just means "wrong length for a country code". If you give it any two- or three-letter string that isn't a country code, you just get your local locale as a fallback.

So, for example, if you wonder to yourself "did anyone ever do the obvious thing and just add 'iso' as a locale", and open up a repl to check, you get this behavior and you will be momentarily baffled:
```
> d.toLocaleString("iso")
'10/5/2026, 14:06:12'
```