Huami: Allow fetching multiple workouts in current day

This commit is contained in:
José Rebelo
2025-07-20 10:31:34 +01:00
parent 439edbd94a
commit 6704f1f39a
@@ -179,11 +179,6 @@ public class FetchSportsDetailsOperation extends AbstractFetchOperation {
return false;
}
if (DateUtils.isToday(lastSyncTimestamp.getTimeInMillis())) {
LOG.info("Hopefully no further fetch needed, last synced timestamp is from today.");
return false;
}
if (lastSyncTimestamp.getTimeInMillis() > System.currentTimeMillis()) {
LOG.warn("Not doing another fetch since last synced timestamp is in the future: {}", DateTimeUtils.formatDateTime(lastSyncTimestamp.getTime()));
return false;