This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
修改加入月份,如果不足1月,则使用1月
Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1
zouap
3 years ago
parent
742af70978
commit
bf4ee1f6ab
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
models/user_business_analysis.go
+ 3
- 0
models/user_business_analysis.go
View File
@@ -674,5 +674,8 @@ func subMonth(t1, t2 time.Time) (month int) {
}
monthInterval %= 12
month = yearInterval*12 + monthInterval
if month == 0 {
month = 1
}
return month
}
Write
Preview
Loading…
Cancel
Save