Changed from timestamp to datetime field in readings