beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 5 forks source link

Fix calculation for meditation minutes #453

Closed theospears closed 2 months ago

theospears commented 2 months ago

Previously meditation minutes used the same algorithm as we used for time in bed. This was overly generous. It would count minutes containing meditation, which is different from the apple algorithm which counts total duration rounded to the nearest minute.

Update the calculation used in the app to match the Apple algorithm.

Fixes #452

Testing: Put various test data into the simulator, and checked beeminder synced appropriately.

theospears commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite