fixed localStorage of time