change granularity to minute