Implement time filtering in posts index view