Exactly, I didn't realize you were talking about the longest day...
That's it!))) I could have searched for it simply at noon, regardless of the day. Or just in summer. Or just in July... In any case, it definitely wasn't June 24th.
Added 40 minutes later
By the way, are you sure it's June? It seems like the days start getting shorter after July 24th...