Fixed conflict,
Fixed Date conversion error when date string is not available.

dix some problem in viewevents.jsp

Signed-off-by: Yuan Cao <mail@caoyuan.me>