Skip to content

Commit

Permalink
update getrole
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Apr 8, 2024
1 parent 183054a commit 6449504
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,10 @@ class Mercedesme extends utils.Adapter {
if (element > 1500000000000 && element < 2000000000000) {
return "value.time";
}
} else if (element && element.toFixed().toString().length === 10) {
if (element > 1500000000 && element < 2000000000) {
return "value.time";
}
}
return "value";
}
Expand Down

0 comments on commit 6449504

Please sign in to comment.