Fixed portability bug s/%X/%H:%M:%S/