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

it-IT.js error in date format . instead of : H.mm instead of H:mm #182

Open
GoogleCodeExporter opened this issue Mar 9, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install Italian language in IE and move it top
2. Use var time = date.toString(Date.CultureInfo.formatPatterns.shortTime); 
with date a valid date
3. time is formatted H.mm as

What is the expected output? What do you see instead?
Expected output H:mm
What is seen instead H.mm

What version of the product are you using? On what operating system?
Current source have the issue.

Please provide any additional information below.

The problem is in it-IT.js.
It is the only .js file which uses H.mm and not H:mm.
The same for long time H.mm.ss
Corrected locally with : instead of . and it works.
I'm not an Italian specialist but I don't think they use . for date seperator.

Original issue reported on code.google.com by vcarl...@gmail.com on 12 Dec 2013 at 1:56

@GoogleCodeExporter
Copy link
Author

In fact . seams correct for italian time separator...
The problem is that on Windows 7 it's : in regional settings! With 2012 R2 it's 
.
So it's difficult to have a common behavior but this is not datajs side I think.

Original comment by vcarl...@gmail.com on 13 Dec 2013 at 9:34

@GoogleCodeExporter
Copy link
Author

But... Time alone is the only format in datejs with H.mm or H.mm.ss
Full date time use : for time separator

Original comment by vcarl...@gmail.com on 13 Dec 2013 at 10:14

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

No branches or pull requests

1 participant