Fix DateFormatPreferencePage.getDifferentTimeZone
commit0a871ac45d5f69fa97c49beddfe4437a61f87339
authorThomas Wolf <thomas.wolf@paranor.ch>
Sun, 6 Dec 2015 17:39:15 +0000 (6 18:39 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 6 Dec 2015 23:47:41 +0000 (7 00:47 +0100)
treed1ce342c47e72bcafe55595864b69e8c5de16529
parentac7b0ce9d1f7a325d39a5bb24212b2f2cf356e7c
Fix DateFormatPreferencePage.getDifferentTimeZone

Make sure that the timezone offset remains in a sane range. Otherwise
someone in Honolulu might get -16h, for which there is no time zone id.

Change-Id: Icec59c22fe92142db198c0319b6e79b303694db3
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/DateFormatPreferencePage.java