clean up time handling
clean up time handling

tidepool-org/chrome-uploader,pazaan/chrome-uploader,pazaan/chrome-uploader,pazaan/chrome-uploader,tidepool-org/chrome-uploader,tidepool-org/chrome-uploader