fix rendering for dates other than today in ResourceView