If the hour in the filename is "00" then convert it to 12
If the hour in the filename is "00" then convert it to 12

If this conversion is not done, then it will try to set the time to 00 and then when the dialog is refreshed, the dialog will update it to 12 and the comparison will fail.

grubyak/google-photos-timezone-fix