You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I briefly looked into the issue, and I believe the root cause is that in goja, the library we do use as ECMAScript 5.1(+) implementation in Go, currently hardcoded en_GBdatetime layout
I'll look closer into this later and open an issue or PR in goja.
Brief summary
The js function Date().toLocaleDateString() always returns MM/DD/YYYY regardless of localization string.
k6 version
V0.50 and v0.49
OS
Windows 10 Pro Version 22H2 OS build 19045.4291
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Run the following
Expected behaviour
The js was executed on the mdn playground https://developer.mozilla.org/en-US/play
Actual behaviour
output from test
The text was updated successfully, but these errors were encountered: