creates scope for past days
moves formatting date to helper