move calibrateTemperature function
Handle incorrect date