This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
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
#1500
only regulateTimeZone for MySQL
tags/v1.2.0-rc1
Unknwon
10 years ago
parent
67853f8fd0
commit
dcadde7a6d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/models.go
+ 1
- 1
models/models.go
View File
@@ -46,7 +46,7 @@ func sessionRelease(sess *xorm.Session) {
// Note: get back time.Time from database Go sees it at UTC where they are really Local.
// So this function makes correct timezone offset.
func regulateTimeZone(t time.Time) time.Time {
if setting.UseSQL
ite3
{
if
!
setting.Use
My
SQL {
return t
}
Write
Preview
Loading…
Cancel
Save