Skip to content

Commit 1ca89c2

Browse files
committed
Adjust quarter to use 13 weeks as interval
1 parent 4226e15 commit 1ca89c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Analytics Hub/Time Range/AnalyticsHubTimeRangeSelection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extension AnalyticsHubTimeRangeSelection {
121121
}
122122
}
123123

124-
/// The resopnse interval size that should be used to request stats from the given SelectedType
124+
/// The response interval size that should be used to request stats from the given SelectedType
125125
/// in order to proper determine the stats charts and changes
126126
///
127127
var intervalSize: Int {
@@ -133,7 +133,7 @@ extension AnalyticsHubTimeRangeSelection {
133133
case .monthToDate, .lastMonth:
134134
return 31
135135
case .quarterToDate, .lastQuarter:
136-
return 12
136+
return 13
137137
case .yearToDate, .lastYear:
138138
return 12
139139
}

0 commit comments

Comments
 (0)