Fix floating point error for poll expiry #294
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#294
Loading…
Reference in a new issue
No description provided.
Delete branch "xarvos/pleroma-fe:fix-poll-expire"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
This resolves #290
By the way, can you tag releases? latest develop doesn't work for me and it was hard to find latest stable release without tags.
oh interesting, good spot!
thanks
and yes i'll make sure to tag releases, didn't know anyone relied on that, just tagged 2023.03