Will the Brazil DST change in 2018 affect CA Spectrum?

Document ID : KB000115909
Last Modified Date : 23/10/2018
Show Technical Document Details
Introduction:
Lawmakers in Brazil have decided to move the start of Daylight Saving Time (DST) from 2018, effectively shortening the DST-period in the country by two weeks.
On the night between Saturday, November 3 and Sunday, November 4, 2018 clocks in the southern parts of Brazil will be set forward 1 hour from 00:00 (12:00 am, midnight) to 01:00 (1:00 am).

Same End Date
On December 16, 2017, the president of Brazil, Michel Temer, signed a decree moving the start of DST in the South American country from October to November.

Better for the Elections
The decree comes as a result of federal elections in Brazil in October next year. Setting the clocks forward after the second round of elections allows for a better vote count after the poll stations close in the different time zones in the country.
 
Question:
What precautions should be taken to prevent any problem related to DST change in CA Spectrum?
Environment:
CA Spectrum
Answer:
All the three items below must be validated:

A) Ensure the Operating System DST(Daylight Saving Time) start date is correct, on November 4, 2018 at 12:00 AM.

User-added image


B) Ensure the JRE version installed on the Desktops has the update for DST change:

https://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html
User-added image
The JRE versions should be 10, 8u172, 7u181, 6u191 onwards


If you cannot update the JRE version, you can patch the installation with the most recent timezone data.
Here an example:

User-added image

1) Download the Java Time Zone Updater Tool
https://www.oracle.com/technetwork/java/javase/downloads/index.html

User-added image

2) Extract and save it in the C:\Program Files\Java\jre1.8.0_121\bin\ folder.

3) Run the following command to check the version of tzupdater.jar file:
java -jar tzupdater.jar -V
User-added image

4) Run the following command to patch with the most recent timezone data:
java -jar tzupdater.jar -u
User-added image


C) For CA Spectrum 10.2.3 release and below you have to manually patch the installation with the most recent timezone data.

NOTE: Unfortunately the the most  recent timezone data (tzdata2018f) has an incorrect time, causing the following failure:
User-added image

1) Download the Java Time Zone Updater Tool
https://www.oracle.com/technetwork/java/javase/downloads/index.html

2) Extract and save it in the $SPECROOT/Java/bin/ directory of OneClick web server and SpectroSERVER machines.

3) Run the following command to check the version of tzupdater.jar file:
java -jar tzupdater.jar -V
User-added image

If tzdata version is tzdata2018c or above, you don't need to update the tzdata.
If below, follow the steps below:

4) Download the tzdata2018e.tar.gz file from https://data.iana.org/time-zones/releases/. (If your server has access to the internet you can skip steps 4 and 5)

5) Copy the tzdata2018e.tar.gz to the $SPECROOT/tomcat/webapps/spectrum/ directory or any other temporary directory..

6) On the OneClick machine, open a command prompt, navigate to the $SPECROOT/Java/bin/ directory, and then run the following syntax:

C:\win32app\Spectrum\Java\bin> java -jar tzupdater.jar -l https://data.iana.org/time-zones/releases/tzdata2018e.tar.gz

OR

C:\win32app\Spectrum\Java\bin> java -jar tzupdater.jar -l file:///C:/win32app/Spectrum/tomcat/webapps/spectrum/tzdata2018e.tar.gz

OR

C:\win32app\Spectrum\Java\bin> java -jar tzupdater.jar -l http://<OneClick_host>:<port>/spectrum/tzdata2018e.tar.gz