Open
Bug 1212230
Opened 10 years ago
Updated 3 years ago
Firefox shows NaN (not a number) using type="number" in windows 10 when date,time format is Persian
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: shahmoradi.mohammad, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20150929144111
Steps to reproduce:
<input class="min" id="time_filter_value1" min="0" step="1" type="number">
windows 10 , date,time and region format is set to Persian. Restart is required.
Actual results:
Firefox shows NaN
Expected results:
Firefox should show a number, when I change region to English and restart my computer Firefox works correctly.
Comment 1•10 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
20150929144111
(In reply to mohammad from comment #0)
> Steps to reproduce:
>
> <input class="min" id="time_filter_value1" min="0" step="1" type="number">
>
> windows 10 , date,time and region format is set to Persian. Restart is
> required.
Is that really it? Is there no JavaScript associated with that element?
> Actual results:
>
> Firefox shows NaN
Works for me (in Windows 7 en-US). In the en-US version of Firefox, I see Arabic numerals, while the Persian one shows Persian numerals.
Comment 2•10 years ago
|
||
in en-us format work correctly.
Updated•10 years ago
|
Attachment #8693598 -
Attachment description: Format U.S.PNG → int en-us format work correctly.
Updated•10 years ago
|
Attachment #8693598 -
Attachment description: int en-us format work correctly. → in en-us format numbers shown in correct format.
Comment 3•10 years ago
|
||
In Persian format, numbers shown as 'NaN'.
Updated•10 years ago
|
Attachment #8693603 -
Attachment description: Format Persian.PNG → In Persian format, numbers shown as 'NaN'.
Comment 4•10 years ago
|
||
Comment on attachment 8693598 [details]
in en-us format numbers shown in correct format.
in en-us format numbers shown in correct format.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•