Fix directory check and date display in approval process