fixed format.html in report controller
fixed calls to DateTime