ITADN

Use Math.floor to get epoch seconds instead of parseInt

#34Pull Requestpixelomer 创建于 2024-08-06
P
pixelomercommented
`parseInt` is intended to be used for parsing strings containing integers. However, in the changed line, it was used to convert a float into an integer. This pull request replaces the call to `parseInt` with a call to `Math.floor` which is the correct function to use in this case.
合并状态:未合并 关闭于 2024-08-06 1 条评论