This commit is contained in:
Daniel 2025-07-29 13:51:01 +08:00
parent a6f5705681
commit e575324483
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1825,8 +1825,8 @@ func genAttrViewViewGroups(view *av.View, attrView *av.AttributeView) {
startIdx := -1
thisMonth := todayStart.Format("2006-01")
for i, monthGroup := range relativeDateGroups {
if monthGroup.GroupValue > thisMonth {
startIdx = i
if monthGroup.GroupValue < thisMonth {
startIdx = i + 1
}
}
if -1 == startIdx {