Checking daylight saving time ...
Once you need to check if your linux sever have daylight saving settings is correctly configured, do this:
$> zdump -v /etc/localtime | grep 2014
The correct result should be:
/etc/localtime Sun Feb 16 01:59:59 2014 UTC = Sat Feb 15 23:59:59 2014 BRST isdst=1 gmtoff=-7200
/etc/localtime Sun Feb 16 02:00:00 2014 UTC = Sat Feb 15 23:00:00 2014 BRT isdst=0 gmtoff=-10800
For any other result maybe something is configured wrong ! Lucky :-)
... thanks Joniel Pasqualetto by the tip!!
Written by Guilherme Elias
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Devops
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#