MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / isSameSecond

Method isSameSecond

mini_program/common/Tools.js:830–832  ·  view source on GitHub ↗
(time1, time2)

Source from the content-addressed store, hash-verified

828 }
829
830 isSameSecond(time1, time2) {
831 return Math.floor(time1 / 1000) === Math.floor(time2 / 1000)
832 }
833
834 addUnit(value = 'auto', unit = 'rpx') {
835 return this.isNumber(value) ? `${value}${unit}` : value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected