* Added patch to prevent locales and timezones from being set to wrong values in modified dropdown menus.
* Commented out client-side code hiding “Etc” timezones in the preferences’ dropdown to prevent wrong settings. * Added localized timezone name in dropdown menu (only visible in JavaScript-disabled clients). Fixes issue 128.
This commit is contained in:
parent
3f602c6d5b
commit
2b35e1ddf4
3 changed files with 45 additions and 3 deletions
|
@ -851,8 +851,8 @@ function getTimeZones(language) {
|
|||
offset = timeZone.getRawOffset();
|
||||
result.push({
|
||||
value: zone,
|
||||
display: /* timeZone.getDisplayName(timeZone.inDaylightTime(now),
|
||||
java.util.TimeZone.LONG, locale) */ " (UTC" + (offset /
|
||||
display: timeZone.getDisplayName(timeZone.inDaylightTime(now),
|
||||
java.util.TimeZone.LONG, locale) + " (UTC" + (offset /
|
||||
Date.ONEHOUR).format("+00;-00") + ":" + (Math.abs(offset %
|
||||
Date.ONEHOUR) / Date.ONEMINUTE).format("00") + ")"
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue