Update for MySQL timezone detection bug
Use "DefaultTimeLoc" for "al.TZ" default value Don't set TZ on alias when t.Location() is empty You can set your MySQL server timezone on main.go init function. Example : orm.DefaultTimeLoc, _ = time.LoadLocation("Europe/Paris")
Showing
Please
register
or
sign in
to comment