use datetime for historyentry date

Signed-off-by: Stephan Pavlovic <stephan@railslove.com>