slack-analytics
slack-analytics copied to clipboard
Removed extra `P1D`
To get yesterday instead of day before yesterday.
Hey @ngfw,
Thanks for pointing out this bug!
I'm not sure this change will fix the problem though. Looks like it's being labeled wrong, but showing the correct data. This just shifts it up a day, but doesn't actually solve the issue as far as I can tell.
If you can figure out how to get yesterday's data and display the correct day of the week for yesterday, that would be awesome! Otherwise, I can add this to my todo list and try to find some time to debug it further.