Open Bug 662990 Opened 13 years ago Updated 2 years ago

timepicker value property does not zero-pad hour

Categories

(Core :: XUL, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17

When pulling the value from the timepicker, the hour is not zero-padded.

Reproducible: Always

Steps to Reproduce:
Access the URL above and set the timepicker to 08:00

Actual Results:  
The alert box reports 8:00:00

Expected Results:  
The alert box should report 08:00:00

See the page https://developer.mozilla.org/en/XUL/timepicker which clearly states the value property return a value in the format HH:MM:SS
Confirming issue on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17

Setting status to New.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.