I am using JavaScript API (new Date()).toString()
to detect time zone for client? However, I found different Windows client will return different time zone name for the same time zone. For Example, we can get a time zone name as below if the client is in the GMT+0100.
Mon Sep 25 2017 21:04:22 GMT+0100 (GMT Summer Time)
Mon Sep 25 2017 21:04:22 GMT+0100 (GMT Daylight Time)
One name contains Summer and another name contains Daylight. How can make this API return the same time zone name like GMT Daylight Time
?