Preserve offset when parsing times

Changing scaler_scanner's parse_time function to return a time object
with offset preserved if it was specified.