Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooseriuz committed Jul 25, 2023
1 parent ac295d5 commit bfa18fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion noncore/_utils/rfcx-mqtt/mqtt-iotda-data-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const availableProject = ['3dvrocmagfiw']
function parse (pingObj) {
const battery = strArrToJSArr(pingObj.json.battery, '|', '*')
const lastIndex = battery.length - 1

const time = moment(parseInt(battery[lastIndex][0])).utc()
const month = (time.month() < 10) ? `0${time.month() + 1}` : time.month() + 1
const day = (time.date() < 10) ? `0${time.date()}` : time.date()
Expand Down

0 comments on commit bfa18fb

Please sign in to comment.