Point 1: Also can use "US/Eastern" for EST and "US/Pacific" for PST Instead of my previous statement "I would like to give input as EST and map to America/New_York for LoadLocation, and get the output. Similarly for other timezones which has Daylight Savings". When used US/Eastern, difference with UTC show as 4 hours(since currently Eastern is under daylight)
Need confirmation if same input should give 5 hours after the daylight. ====================== Point 2: I am not familiar with "time" libraries of other programming languages. When the time zone given is EST, library should ideally check the current System time and verify if it is in Daylight Saving OR Not Daylight Saving period and should provide the result accordingly. Please correct me if am wrong. On Thursday, 29 September 2016 20:48:03 UTC+5:30, laxman.v...@gmail.com wrote: > > Hi, > > Google shows difference between EST and UTC as 4 hours whereas go logic > gives 5 hours difference in time. > > https://play.golang.org/p/zHc9hM15iH > > Is there any issue in my logic?? > > Thanks > LV > -- 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.