mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 717841 part 2 - Fix HistoryQueryTask's time range checks. r=lucasr f=dougt a=dougt
This commit is contained in:
parent
a41d7efd0e
commit
49931ac044
@ -353,9 +353,13 @@ public class AwesomeBarTabs extends TabHost {
|
||||
|
||||
if (delta < 0) {
|
||||
return HistorySection.TODAY;
|
||||
} else if (delta > 0 && delta < MS_PER_DAY) {
|
||||
}
|
||||
|
||||
if (delta < MS_PER_DAY) {
|
||||
return HistorySection.YESTERDAY;
|
||||
} else if (delta > MS_PER_DAY && delta < MS_PER_WEEK) {
|
||||
}
|
||||
|
||||
if (delta < MS_PER_WEEK) {
|
||||
return HistorySection.WEEK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user