File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
domain/src/main/java/com/stop/domain/usecase/route Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ internal class GetLastTransportTimeUseCaseImpl @Inject constructor(
378
378
lastTime + = TIME_CORRECTION_VALUE
379
379
}
380
380
381
- val lastTimeString = lastTime.toString().chunked(2 ).joinToString(" :" )
381
+ val lastTimeString = lastTime.toString().padStart( 6 , ' 0 ' ). chunked(2 ).joinToString(" :" )
382
382
383
383
return TransportLastTime (
384
384
transportMoveType = TransportMoveType .BUS ,
@@ -521,7 +521,7 @@ internal class GetLastTransportTimeUseCaseImpl @Inject constructor(
521
521
lastTime + = TIME_CORRECTION_VALUE
522
522
}
523
523
524
- val lastTimeString = lastTime.toString().chunked(2 ).joinToString(" :" )
524
+ val lastTimeString = lastTime.toString().padStart( 6 , ' 0 ' ). chunked(2 ).joinToString(" :" )
525
525
526
526
return TransportLastTime (
527
527
transportMoveType = TransportMoveType .BUS ,
You can’t perform that action at this time.
0 commit comments