Skip to content

Commit

Permalink
fix(crawler): fix "lg" area code crawler
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkrist committed Jan 14, 2021
1 parent aa2d896 commit 7e768f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/crawler/lib/lg.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ module.exports = () =>
const entry = {
areacode: 'lg',
date: `${dateMatch[3]}-${dateMatch[2]}-${dateMatch[1]}T00:00:00.000Z`,
deaths: Number(deathsMatch[1]),
infected: Number(infectedMatch[1]),
deaths: Number(deathsMatch[1].replace('.', '')),
infected: Number(infectedMatch[1].replace('.', '')),
quarantined: null,
recovered: Number(recoveredMatch[1])
recovered: Number(recoveredMatch[1].replace('.', ''))
}

return [
Expand Down

0 comments on commit 7e768f1

Please sign in to comment.