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")
7.1 KiB
7.1 KiB