less hacky Date constructor for js. format temp on first page. change min on chart to be min value instead of 0 so values can be seen