TSplus Helpdesk

Time zone fine tuning

Created by: Adrien Carbonne

Modified on: Sat, 1 Dec, 2018 at 10:25 PM

Important notice, please consider, HTML5 client as browser page has no native access to your system unlike mstsc.exe that is native RDP client with direct system access. Also HTML5 client has to rely on values that your browser reports and if the browser provides wrong values then the only way to fix browsers values is to tell the program the correct time zone shifting as in example given below.

2. afterwards go sure that time zone redirection is enabled as in picture2. if automatical redirection still displays wrong time then locate variable*\Clients\www\software\html5\settings.js > W.timeZoneOffsetShift = "0:0"; and change it depending on your needs "-60:-1" or "60:1" according to the missed time shift reported by your browser. In example left part "-60:-1" would shift time 60 minutes forward/back, and right part would adjust time zone UTC+/- shift. And by "-60:0" you would adjust time only while time zone would remain same, or by "0:-1" time zone offset would differ.

Set own time zone name than default.For the same time zone asexample UTC -4 etc. there may exist many different names because many countries at same time are in same time zone, usually the displayed name has no disadvantages on the functionality if it matches the time line (in exampleUTC -4) but mismatches the default name, so the problem (if any) is only of cosmetical nature since it is technically impossible to recognize time zone name via browser.Nonetheless to set own time zone name for automatical recognition from system regedit strings do following.

If displayed time zone in example is UTC -4 which stands for Atlantic by default (final displayed name is the choice of system) but wished is another name as exampleCentral Brazilian then open in registry editor regedit.exe following key pathHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\ and look for the name of wished time zone path name and replace in variable settings.js>W.timeZonesRegistryNewmatching string Atlantic with new string Central Brazilian (the string Standard Time can be omitted) according to regedit path name.Example > W.timeZonesRegistryNew = "****%Venezuela%Atlantic%Newfoundland%*****";change to > W.timeZonesRegistryNew = "****%Venezuela%Central Brazilian%Newfoundland%*****";In new HTML5 5.62 version the format has changed, now the containing string may contain up to 3 different types of time zones.As example Central@Easter Island@Central America consist of three time zone types, upper semisphere time transitionwinter-summer-winter like in USA, lower semisphere summer-winter-summer transition like in Brazil, and zone without winter/summer transition like in Russia.

Conclusion: finally time zone adjustment consist of three parts, displayed time in hours:minutes, displayed UTC+/- offset, where both values are adjustable by W.timeZoneOffsetShift, and the displayed name for the specific UTC+/- time zone adjustable by W.timeZonesRegistryNew.