Closed noah10 closed 1 year ago
At https://github.com/EmotionCognitionLab/pvs/blob/main/server/lambdas/earnings/earnings.js#L153 we fail to convert the time the breathing segment was done to PT, meaning that a user could potentially do six segments in one PT day that get split across 2 UTC days, causing him or her to miss out on payment for the second set of three segments.
Ran without errors in dev.
At https://github.com/EmotionCognitionLab/pvs/blob/main/server/lambdas/earnings/earnings.js#L153 we fail to convert the time the breathing segment was done to PT, meaning that a user could potentially do six segments in one PT day that get split across 2 UTC days, causing him or her to miss out on payment for the second set of three segments.