childmindresearch / app-actigraphy

A webapp for annotating actigraphy data
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Fix onset time in [0, 12] hours assigned to incorrect date #51

Closed ReinderVosDeWael closed 9 months ago

ReinderVosDeWael commented 9 months ago

This pull request fixes an issue where the onset time in the range of [0, 12] hours was being assigned to the incorrect date. The problem was resolved by adding a condition to increment the onset time by one day if it falls before 12 hours.

Partially addresses #45