Adjust time windows for map filters
This commit is contained in:
parent
794b083356
commit
8fca9af710
|
|
@ -73,11 +73,11 @@ export function matchesTimeFilter(createdAt, timeFilter) {
|
|||
|
||||
switch (timeFilter) {
|
||||
case "NOW":
|
||||
return diffHours <= 3;
|
||||
return diffHours <= 2;
|
||||
case "TODAY":
|
||||
return diffHours <= 24;
|
||||
case "RECENT":
|
||||
return diffDays <= 3;
|
||||
return diffHours <= 72;
|
||||
case "PAST":
|
||||
return diffDays <= 15;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue