Previously when connecting healthkit to a goal we would always sync the last 7 days of data, even if the goal was newly created. This could insta-derail do less goals, and add too much safety buffer to do-more goals. Now we check for the goal creation date, and do not sync data points from before this date.
Fixes #334
Test Plan:
Created a new goal and observed it only received one data point
Previously when connecting healthkit to a goal we would always sync the last 7 days of data, even if the goal was newly created. This could insta-derail do less goals, and add too much safety buffer to do-more goals. Now we check for the goal creation date, and do not sync data points from before this date.
Fixes #334
Test Plan: Created a new goal and observed it only received one data point