diff --git a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficOverviewUseCase.kt b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficOverviewUseCase.kt index 6dd519a3849e..5f2fb3bcad0e 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficOverviewUseCase.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficOverviewUseCase.kt @@ -282,7 +282,7 @@ class TrafficOverviewUseCase( lowerGranularity ) if (period != null && period != "empty") { - val selectedDate = statsDateFormatter.parseStatsDate(statsGranularity, period) + val selectedDate = statsDateFormatter.parseStatsDate(lowerGranularity, period) selectedDateProvider.selectDate( selectedDate, lowerGranularity