DevToys-app / DevToysMac

DevToys For mac
MIT License
9.24k stars 365 forks source link

Date conversion function has a bug, sometimes it will be more than one second #137

Open bihell opened 1 year ago

bihell commented 1 year ago

The correct timestamp should be 1681920000 as shown

WechatIMG301856

BTW: How to participate in development ? Is there a development documentation? I would also like to try my hand at Mac software development.

bihell commented 1 year ago

I think it's the rounded() function that's causing the problem

self.cell.unixTimeField.value = $0.timeIntervalSince1970.rounded()

veler commented 5 months ago

Hi,

DevToysMac is now archived and deprecated. We just released DevToys 2.0 for Windows, Mac and Linux. This issue may or may have not been addressed in the new version. If the issue persist, we encourage to open a new issue on https://github.com/DevToys-app/DevToys or https://github.com/DevToys-app/DevToys.Tools

See more information about DevToys 2.0 here: https://devtoys.app/blog/announcing-devtoys-2.0-preview