mingo-app / mingo

Found a bug? have a FR ?
60 stars 2 forks source link

Bad formatting Chart Widget grouping by year week #527

Closed javigines closed 1 year ago

javigines commented 1 year ago

Describe the bug The aggregation done on the Chart Widget editor is not correct when it is done grouping by year week. This is because, on the aggregation $dateToString format, the code used to represent the year is %Y and should be %G. If not the day one of January it appears as 2023 when in ISO weeks it is really from last year's weeks. Currently, the dates from 2023-01-01 appears as 2023-52.

Screenshots image

Desktop (please complete the following information):

tothradoslav commented 1 year ago

Thanks, corrected. Due to the way these widgets work, you will have to edit them and save with new grouping.

tothradoslav commented 1 year ago

This has been corrected in the current RC, please test it and let us know if the issue has been resolved. Thank you!

https://github.com/mingo-app/mingo/releases/tag/v1.11.0-rc2