Skip to content

Commit 8cae948

Browse files
committed
Update parseStatsDate() to use lowerGranularity instead of bar graph granularity
1 parent 4e32633 commit 8cae948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficOverviewUseCase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class TrafficOverviewUseCase(
282282
lowerGranularity
283283
)
284284
if (period != null && period != "empty") {
285-
val selectedDate = statsDateFormatter.parseStatsDate(statsGranularity, period)
285+
val selectedDate = statsDateFormatter.parseStatsDate(lowerGranularity, period)
286286
selectedDateProvider.selectDate(
287287
selectedDate,
288288
lowerGranularity

0 commit comments

Comments
 (0)