How the group by 1hr is working in grafana

i need to know how the group by 1 hr is working .

if i used the 1m, data is coming as the real time filed data, but when i start adding 30 m or 1hr group then the value is shift 1hr before .
eg : @13:00 data is 4000 - 1m group ,
if it is 1hr group , then the data publish @12:00

can any one why it is happening

If you are using Flux, you can try to change timeSrc and see if it helps:

We are using influxdb 1.8