fix start on stats graph

This commit is contained in:
Sam
2019-01-04 09:51:33 +01:00
parent 8e5f83d909
commit e412907e36
2 changed files with 16 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export default class Statistics extends React.Component {
super(props, context)
const date = new Date()
this.state = {
start: startOfMonth(subMonths(date, 12)),
start: startOfMonth(subMonths(date, 11)),
end: endOfMonth(date),
duration: 'month',
type: 'by_time',