Skip to content

Commit

Permalink
kr.hdexp: 날짜 포맷에서 밀리초(.0) 제거 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxoul authored Nov 28, 2022
1 parent e9d67d9 commit 02e5e69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/apiserver/carriers/kr.hdexp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ function getTrack(trackId) {
shippingInformation.progresses.push({
time:
progress.reg_date !== '알수없음'
? `${progress.reg_date.replace(' ', 'T')}+09:00`
? `${progress.reg_date
.replace(' ', 'T')
.replace('.0', '')}+09:00`
: undefined,
status: {
id: STATUS_ID_MAP[progress.stat] || 'in_transit',
Expand Down

0 comments on commit 02e5e69

Please sign in to comment.