Hours and minutes can be 0 so we can't use ! empty

Instead let's use isset
Cleanup whitespace