kinabalu / obsidian-oura-plugin

Plugin to process data from Oura Ring
MIT License
33 stars 4 forks source link

Sleep data off by one day? #20

Open rtm opened 2 months ago

rtm commented 2 months ago

Thanks again for your work on this. I've noticed that if today (2024-08-25) in a note titled 2024-08-25, I issue the command to bring in Oura data, it gets data for yesterday (2024-08-24). For sleep, that's wrong, because the data for my sleeping which started the evening of 2024-08-24 and ended 2024-08-25 (today), which is the data I want, is associated by Oura under 2024-08-25 (the day you woke up). So on 2024-08-25 I want the sleep data for 2024-08-25, not for 2024-08-24. I can understand how maybe for activity I would like to bring i n yesterday's activity data, but I think for sleep it needs to work a little differently. Let me know if anything is unclear or you need more information.