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

Getting Syntax Error when change iOS Device Language to Japanese #6142

Open
hemant-mali-spg opened this issue Jul 5, 2023 · 1 comment
Open

Comments

@hemant-mali-spg
Copy link

hemant-mali-spg commented Jul 5, 2023

Change device language to Japanese getting below error related to moment

Expected behavior
It should work as it working for other languages

Screenshots
MicrosoftTeams-image

Desktop:

  • OS: iOS
  • Browser safari
  • Version 16.5 (18615.2.9.11.4)

Smartphone :

  • Device: iPad Pro 11, or any other iPhone devices
  • OS: iOS 16.1
  • Browser safari
  • Version 16.5 (18615.2.9.11.4)

Please run the following code in your environment and include the output:

console.log((new Date()).toString())
console.log((new Date()).toLocaleString())
console.log((new Date()).getTimezoneOffset())
console.log(navigator.userAgent)
console.log(moment.version)

LOG Wed Jul 05 2023 12:44:40 GMT+0530
LOG 7/5/2023, 12:44:40 PM
LOG -330
LOG undefined
LOG 2.29.4
@ichernev
Copy link
Contributor

Try to reproduce it in jsfiddle or node. I can't debug your browser screenshot.

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

2 participants