Skip to content

Commit

Permalink
Merge pull request #121 from hyun99999/feature/#120
Browse files Browse the repository at this point in the history
[FIX] #120 - 생년월일 구분자 '.' 변경
  • Loading branch information
hyun99999 authored Dec 9, 2021
2 parents 4fc94cf + c696b76 commit b332763
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extension SelectBirthBottomSheetViewController {
view.addSubview(birthPicker)
view.addSubview(doneButton)

selectedBirth = yearList[0] + "/" + monthList[0] + "/" + dayList[0]
selectedBirth = yearList[0] + "." + monthList[0] + "." + dayList[0]

birthPicker.delegate = self
birthPicker.dataSource = self
Expand Down Expand Up @@ -145,7 +145,7 @@ extension SelectBirthBottomSheetViewController: UIPickerViewDelegate, UIPickerVi
year = year.isEmpty ? yearList[0] : year
month = month.isEmpty ? monthList[0] : month
day = day.isEmpty ? dayList[0] : day
selectedBirth = year + "/" + month + "/" + day
selectedBirth = year + "." + month + "." + day
}

func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat {
Expand Down

0 comments on commit b332763

Please sign in to comment.