Skip to content

Commit d684326

Browse files
committed
moneymong-306 feat: 희직님 리뷰 반영
1 parent 72f10e0 commit d684326

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

feature/ocr-detail/src/main/java/com/moneymong/moneymong/ocr_detail/OCRDetailViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ class OCRDetailViewModel @Inject constructor(
4545
val currentDate = SimpleDateFormat("yyyyMMdd", Locale.KOREA).format(Date(System.currentTimeMillis()))
4646
val currentTime = SimpleDateFormat("HHmmss", Locale.KOREA).format(Date(System.currentTimeMillis()))
4747
val paymentDateString = receipt?.paymentInfo?.date?.let {
48-
"${it.formatted?.year}${it.formatted?.month}${it.formatted?.day}"
48+
"${it.formatted?.year}${it.formatted?.month}${it.formatted?.day}"
4949
} ?: currentDate
5050
val paymentTimeString = receipt?.paymentInfo?.time?.let {
51-
"${it.formatted?.hour}:${it.formatted?.minute}:${it.formatted?.second}"
51+
"${it.formatted?.hour}${it.formatted?.minute}${it.formatted?.second}"
5252
} ?: currentTime
5353
reduce {
5454
state.copy(

0 commit comments

Comments
 (0)