Skip to content

Commit

Permalink
[Fix/#98] 시간 잘못 들어가는 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoncheong committed Jul 21, 2023
1 parent 97db889 commit 3c14ee6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class SetTimeActivity : BindingActivity<ActivitySetTimeBinding>(R.layout.activit
val hour =
if (binding.tpTime.hour == 0) {
"24"
} else if (binding.tpTime.hour >= 1 || binding.tpTime.hour <= 9){
} else if (binding.tpTime.hour in 1..9){
"0${binding.tpTime.hour}"
} else {
binding.tpTime.hour
Expand Down

0 comments on commit 3c14ee6

Please sign in to comment.