Closed Bug 881866 Opened 11 years ago Closed 11 years ago

[Cost Control] Mindgap component should compare dates in local time

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: salva, Assigned: salva)

References

Details

Attachments

(1 file)

When bug 877607 is solved, it causes a pseudo-regression related with bug 846402. It is a similar case but this time the error is happening in time zones GMT + XX.

See:
https://bugzilla.mozilla.org/show_bug.cgi?id=846402#c27

Now take in count, this assertion...
"Date B, is always the present day at 00:00 UTC."

...was, actually, the back-end bug 877607.
Comment on attachment 761125 [details]
Once the backend is fixed (bug 877607) and only time-zone-aware dates are returned, mindgap.js must compare local dates.

Tried on the phone, working smoothly :)

Thanks Salva!
Attachment #761125 - Flags: review?(francisco.jordano) → review+
Bug-877607 is dependent on this bug.so changing it to leo+.
blocking-b2g: leo? → leo+
Master: 5eb19071334a4f71c23410363e0fdaee8a1fd5b3
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted 5eb19071334a4f71c23410363e0fdaee8a1fd5b3 to:
v1-train: 3816e74676e7705f0a9cd84857151e6b433f5485
1.1hd: 3816e74676e7705f0a9cd84857151e6b433f5485
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: