Closed Bug 883751 Opened 11 years ago Closed 11 years ago

[System] Cannot select time while hour is one-digit

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 unaffected, b2g18-v1.0.0 unaffected, b2g18-v1.0.1 unaffected, b2g-v1.1hd unaffected)

RESOLVED FIXED
Tracking Status
b2g18 --- unaffected
b2g18-v1.0.0 --- unaffected
b2g18-v1.0.1 --- unaffected
b2g-v1.1hd --- unaffected

People

(Reporter: iliu, Unassigned)

References

Details

Attachments

(1 file)

Steps to reproduce:

build: 20130616030713, mozilla-central, gaia-master

==== test in Clock app ====
1. Launch Clock
2. Create new alarm
3. Click time
4. Select hour in range 1~9 with AM mode

==== test in UI tests app ====
1. Launch UI tests
2. go into Select section
3. Click time
4. Select hour in range 1~9 with AM mode

Actual results:
It cannot select time.

Expected results:
It should select time normally.
This issue only exists in m-c and should have been fixed with Bug 830353.
Not sure why this has been regressed. Will find out and fix that again.

Thanks.
Comment on attachment 763461 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/10432

[Root Cause]
Only reproduced on m-c, m-c would check the fomat to be in HH:MM.
See Bug 830353 Comment 18 for details.

[Solution]
Correctly format the time as required.
This has been done in https://github.com/mozilla-b2g/gaia/pull/7752, but I am not sure why it didn't get merged at that time.
I re-send a pull request since the original one seems missing.

Dear Ian,

Please help review this one-line patch.
Thanks.
Attachment #763461 - Flags: review?(iliu)
Comment on attachment 763461 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/10432

It have a test in Clock/Calendar/UI-tests app. All of them work for me. Thank you so quickly to help.
Attachment #763461 - Flags: review?(iliu) → review+
Merged to Gaia master:
https://github.com/mozilla-b2g/gaia/commit/8b152567716cf356edb826ef56152b78ec4e55a6

Ian,
Thanks for the review.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: