mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
Rename 'last year' to 'last 12 months'
This commit is contained in:
parent
0f6d742ae1
commit
0dfd5b448d
@ -72,7 +72,7 @@ class DatePicker extends React.Component {
|
||||
} else if (query.period === '6mo') {
|
||||
return 'Last 6 months'
|
||||
} else if (query.period === '12mo') {
|
||||
return 'Last year'
|
||||
return 'Last 12 months'
|
||||
}
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@ class DatePicker extends React.Component {
|
||||
<Link to={{search: this.queryWithPeriod('30d')}} className="block p-2 hover:bg-grey-lighter">Last 30 days</Link>
|
||||
<Link to={{search: this.queryWithPeriod('60d')}} className="block p-2 hover:bg-grey-lighter">Last 60 days</Link>
|
||||
<Link to={{search: this.queryWithPeriod('6mo')}} className="block p-2 hover:bg-grey-lighter">Last 6 months</Link>
|
||||
<Link to={{search: this.queryWithPeriod('12mo')}} className="block p-2 hover:bg-grey-lighter">Last year</Link>
|
||||
<Link to={{search: this.queryWithPeriod('12mo')}} className="block p-2 hover:bg-grey-lighter">Last 12 months</Link>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
@ -40,7 +40,7 @@ export function toHuman(query) {
|
||||
} else if (query.period === '6mo') {
|
||||
return 'in the last 6 months'
|
||||
} else if (query.period === '12mo') {
|
||||
return 'in the last year'
|
||||
return 'in the last 12 months'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user