Tamas, that's checking if the offset at a particular instant was the same as the local zone - what OP cares about is that the caller is not using literally "time.Local" in their code.
I recommend performing source analysis for this - it's a lot easier on you than runtime checks. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.