Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dateToUnix to preserve the date #434
trunc the ms instead of round to avoid edge cases where the date would be changed example: Math.round((new Date('2024-12-10T23:59:59.999Z')).getTime() / 1000) vs Math.trunc((new Date('2024-12-10T23:59:59.999Z')).getTime() / 1000)
- Loading branch information