Adds a resource attribute view for date.