added extra check in case if "showHours" is FALSE but somebody assigns
time that contains hours part (i.e., 01:02:03 instead of 02:03)