adjust log time, including hour and minutes to prevent app crushing due to NSRangeExceedException