beeminder / BeeSwift

Official Beeminder for iOS app
Other
30 stars 6 forks source link

Introduce the Daystamp type #430

Closed theospears closed 10 months ago

theospears commented 10 months ago

Introduce a new daystamp type to handle the complexity of beeminder daystamps. In particular, this is aware that the conversion of datetimes to daystamps depends on the deadline for the goal, and handles this correctly.

This should allow us to consolidate a large amount of date/time handling code from across the app into a single (tested!) class.

Testing: Introduced unit tests to exercise the most important behavior

theospears commented 10 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