IvanMathy / Boop

A scriptable scratchpad for developers. In slow yet steady progress.
https://boop.okat.best
MIT License
3.84k stars 356 forks source link

:bug: Fix for unix timestamps in milliseconds #248

Open alexc155 opened 3 years ago

alexc155 commented 3 years ago

Hello,

I noticed what could be a small bug in the Date to UTC script: It doesn't seem to cope well with unix timestamps that are in milliseconds.

I've had a go at fixing the script and including some tests.

Please let me know if it can be merged into main.

Thanks!

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
57.4% 57.4% Duplication