PMC not calculated when empty day

Issue #42 resolved
Daniel Besse created an issue

Example:

  1. Training Wednesday and uploading activity Wednesday -> PMC set until Wednesday
  2. Rest day on Thursday -> PMC not updated
  3. Training Friday -> No data for Thursday => wrongly assumes 0 ATL/CTL

Solution:

  1. update PMC via cron every day
  2. if PMC not set for day before, find last set and update from there

Comments (3)

  1. Log in to comment