The later you arrive, the more shinies you get
Alternatively, the further you travel within the time
I have some evidence to back this up
I have so far got less shinies than my friend, every community day we have both participated in.
All those times my friend has had to travel further, and usually only arrives for the last hour.