ppfeufer / allianceauth-afat

Another Fleet Activity Tracking tool for Alliance Auth
GNU General Public License v3.0
0 stars 5 forks source link

FATs by Weekday for Corp are off by one day #251

Closed zmsMarc closed 1 year ago

zmsMarc commented 1 year ago

Bug Description

A clear and concise description of what the bug is. Viewing the graph for FATs by Weekday for corp shows the Fats to be one day in the future. FATs that were added on Friday are shown for saturday. Currently it already shows FATs for sunday, eventhough its still saturday march 04.

I assume the graph is supposed to start the week on a sunday instead of monday, and therefore the labels are 1 day off

Steps to Reproduce

Steps to reproduce the behavior: Get FATs at start of month, open graph, see they are tomorrow.

/fleet-activity-tracking/statistics/corporation//2023/3/ ### Expected behavior FATs graph should show correct weekdays ### Screenshots ![grafik](https://user-images.githubusercontent.com/9104198/222890188-e98be9c8-66b4-447f-9660-a62fa677f784.png)
ppfeufer commented 1 year ago

Nice find, will be fixed with the next release.

zmsMarc commented 1 year ago

grafik It looks like its now missing data from sundays, the others seem about right. Could you take another look?

ppfeufer commented 1 year ago

Sunday is a day off, you're not supposed to work on that day :-P

Ya, I'll have a look.