Fix floating point error for poll expiry #294

Merged
floatingghost merged 1 commit from xarvos/pleroma-fe:fix-poll-expire into develop 2023-03-30 09:49:39 +00:00

1 commit

Author SHA1 Message Date
47fc082fb9
Fix floating point error for poll expiry
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Previous code multiply with 0.001 before multiplication which leads to a
floating point error.  By changing it to division by 1000 after
multiplication this is avoided.
2023-03-24 20:48:02 +07:00