AsDateString("short-date") bug?

I don’t know what locale it’s coming from, but I use AsDateString(“short-date”) in one of my games and I’m seeing strings like 2016/6/15 in my logs. Could it be coming from Canada? Either the documentation is incorrect (which shows only 2 character years for all locales) or there’s a bug in the function.

-JT

“renojim” wrote:
I don’t know what locale it’s coming from, but I use AsDateString(“short-date”) in one of my games and I’m seeing strings like 2016/6/15 in my logs. Could it be coming from Canada? Either the documentation is incorrect (which shows only 2 character years for all locales) or there’s a bug in the function.

-JT

It’s “by design” apparently…Canadian locale is indeed treated specially.
“YYYY/MM/dd = government standard in Canada”.
We’ll get the documentation fixed.

–KC

Thanks!