Closed Bug 797792 Opened 12 years ago Closed 11 years ago

[Clock] If next alarm comes more than 24 HOURS, it should display in DAYS instead of HOURS in countdown indicator

Categories

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

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: johnshih.bugs, Assigned: sergi)

Details

(Keywords: late-l10n, polish)

Attachments

(1 file)

## Environment :
Otoro phone, build 2012-10-03
* "gaia" revision= a3339652136fde9e5207e1bc1263a410c84f55fc 
* "releases-mozilla-central" revision= aecce9686d0b0e6ec25bb31e837eadace251a951
  
## Repro :
1. launch clock app
2. press "+" button to alarm add page
3. Set Repeat to today
4. Set the alarm time same as the time display on status bar (e.g. now is 03:24, set alarm time 03:24)
5. Press "Done" 

## Expected :
1. See the countdown indicator show "The alarm is set for 7 DAYS from now"

## Actual :
1. The countdown indicator shows "The alarm is set for 167 HOURS 59 MINUTES form now" which doesn't make sense that much
Hi John,
I don't see the remained days display in our spec. of Clock APP.
But, I agree we could have the good experience for user after UX's confirmation.
If we want to have the feature, we also need to refine the localization.
Because of Josh is on PTO, I assign the issue to Casey.

Hi Casey,
Do we need to have the remained days display in the banner?
Please confirm the behavior and re-assign the issue to me.
Thank you.
Assignee: nobody → kyee
Hi guys, good catch. We would prefer to convert "hours + minutes" to "days + hours" if the time span exceeds 24 hours. This is a v1 nice-to-have, but not a blocker.
Assignee: kyee → nobody
Component: Gaia → Gaia::Clock
blocking-basecamp: --- → ?
Keywords: polish
blocking-basecamp: ? → ---
OS: Linux → Gonk (Firefox OS)
Assignee: nobody → iliu
QA Contact: jshih → fyen
Hi Sergi,
I left some message on your pull request. You should update your patch again since it has some conflict. 

Then, please set reviewer to me. I think your patch works for me. Nice job. Thanks for your help.
Hi Ian,

I have updated the patch. As for assigning it to you, I don't think I have rights for that. In 'Assigned to' it is already assigned to you, though.
Comment on attachment 707630 [details] [review]
Link to the pull request patch at Github

Setting 'review?' to :ianliu as sergim doesn't have enough privileges
Attachment #707630 - Flags: review?(iliu)
Since Sergi handle the issue, I assign the issue to him.
Assignee: iliu → sergi.mansilla
Comment on attachment 707630 [details] [review]
Link to the pull request patch at Github

It works for me. r=me
Attachment #707630 - Flags: review?(iliu) → review+
Sergi,
Could you please squash your pull request? Then, I'll help to merge it. Thanks:)
Keywords: late-l10n
Done. The new pull request is at https://github.com/mozilla-b2g/gaia/pull/7958. It should be ready to merge.

(In reply to Ian Liu [:ianliu] from comment #10)
> Sergi,
> Could you please squash your pull request? Then, I'll help to merge it.
> Thanks:)
Status: NEW → ASSIGNED
Since the pr(https://github.com/mozilla-b2g/gaia/pull/7958) is merged, you can close the issue. Thank you.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Device unagi
gaia   122ee16093d9730de7a9c6beba989adeb5d716ae
gecko  95bf443385bbd8ee611be1586ec975e609acd006

Verified.
Status: RESOLVED → VERIFIED
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: