It's obvious, don't you see. Germany and the Axis powers surrendered on May 5, 1945. Well, not Italy. Didn't Italy surrender some time before this date? Never mind; that doesn't matter. The point is that Germany and the Axis powers all surrendered together thus ending WWII.
Well, except Japan. It was allied with Germany, too, but since it immediately declared right after Germany's surrender that it never really needed its help anyway, Japan can't be counted as an Axis power. So, all the "real" Axis powers surrendered on May 5.
Except Italy, of course. Well, and maybe one or two other Axis powers.
The point is, they all surrendered on May 5, thus ending WWII.
Ok, ok, so it was really all about Germany, and Germany all by itself surrendered on May 5. And by May 5 I really mean May 8. None of the rest matters, anyway. WWII was over and it just took four months for the Japanese to figure that out.
There was no Internet back then, so messages had to be carried on horseback. These things take time.