• mlgd's avatar
    Update for MySQL timezone detection bug · 3332dbe5
    mlgd authored
    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")
    3332dbe5