mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
10364e281f
commit
df73431112
1 changed files with 1 additions and 1 deletions
|
@ -1694,7 +1694,7 @@ func genAttrViewViewGroups(view *av.View, attrView *av.AttributeView) {
|
||||||
groupName = "8" + contentTime.Format("2006-01")
|
groupName = "8" + contentTime.Format("2006-01")
|
||||||
} else if contentTime.After(todayStart.AddDate(0, 0, 7)) {
|
} else if contentTime.After(todayStart.AddDate(0, 0, 7)) {
|
||||||
groupName = "7" + groupNameNext30Days
|
groupName = "7" + groupNameNext30Days
|
||||||
} else if contentTime.After(todayStart.AddDate(0, 0, 1)) {
|
} else if contentTime.Equal(todayStart.AddDate(0, 0, 2)) || contentTime.After(todayStart.AddDate(0, 0, 2)) {
|
||||||
groupName = "6" + groupNameNext7Days
|
groupName = "6" + groupNameNext7Days
|
||||||
} else {
|
} else {
|
||||||
groupName = "5" + groupNameTomorrow
|
groupName = "5" + groupNameTomorrow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue