Søren Louv-Jansen
Søren Louv-Jansen
It sounds like your node env is set to "production". Therefore you'll need a production.json in the config folder. Try copying the development.json (or default.json) eg `cp config/default.json config/production.json`
Timezones are not supported. Facebook does not provide any information about this. So afaik not possible to fix automatically. What would be possible is to manually adjust the timezone for...
@Cmoen11 I'm not sure how that solves anything. The problem is not your own timezone. It is the timezone of your friends.
@MosheBerman Possibly, but it would require scraping their location information (which is not always available), and converting the location to a timezone offset. At best it would work for some...
This seems to be an issue with [Steno](https://github.com/typicode/steno): a dependency used in [lowdb](https://github.com/typicode/lowdb), which in turn is a dependency used in fb-sleep-stats. I have noticed this happen but have no...
Short answer: I don't know why it's happening. There are several ways to retrieve your list of friends. The optimal way fetches all of them, but (for some reason) it...
This seems to be a duplicate of https://github.com/sqren/fb-sleep-stats/issues/75. Updating Node to the latest version should fix it.
As you know the timestamps for when the users are online is stored here: ./src/server/services/db.json The table overview of the users' sleep cycle is generated on the fly from these...
The overview of sleep cycles below the graph is not very intelligent. You can see the implementation here: https://github.com/sqren/fb-sleep-stats/blob/master/src/browser/services/chart.js#L41 Basically, it assumes that a standard sleep duration is 8 hours,...
Btw. sleepScore is calculated here: https://github.com/sqren/fb-sleep-stats/blob/master/src/browser/services/chart.js#L8 A lower score means that the interval is more likely to be an actual sleep interval. Higher score means the deviation is high, and...