Fixed bug in riseTime and bedTime handlers where I'd forgotten to divide by 1000 on the timestamps