Provided I have done everything correct, I receive an incorrect offset of -8, when initializing my Chrome dev tool to a location of Baltimore, MD, Latitude 39.3904, Longitude -76.6122 (US/Eastern TimeZone ID) Locale - en_US.
How do I make the my configuration work produce the offset of -5 using these two commands?
offset = new Date().getTimezoneOffset(); //positive minutes
offset/=-60; //negative hours
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…