fixed date and dateinterval issues at frontend item detail