Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date.toLocaleTimeString does not support option hour12 #344

Open
saibing opened this issue Aug 28, 2024 · 0 comments
Open

Date.toLocaleTimeString does not support option hour12 #344

saibing opened this issue Aug 28, 2024 · 0 comments

Comments

@saibing
Copy link

saibing commented Aug 28, 2024

quickjs version: 2024-01-13

~/git/c/quickjs-2024-01-13$ qjs
QuickJS - Type "\h" for help
qjs > console.log(new Date().toLocaleTimeString("en-US", { hour12: false }));
10:13:46 AM
undefined
qjs >

Expected output '10:13:46', actual output '10:13:46 AM'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant