move before_actions format date