Difference between revisions of "Change time zone"

From "PTTLink Wiki"
Jump to navigation Jump to search
(created page)
 
m
Tag: visualeditor
 
Line 1: Line 1:
 
[[Category:Obsolete]]
 
[[Category:Obsolete]]
 +
By default ACID is configured for the US Pacific time zone. The file /etc/localtime controls which time zone the system thinks it is in. All of the time zone files the rest of the world are located in /usr/share/zoneinfo. To change the time zone, find the time zone file you want to use, and make a soft link to it like this:
 +
cd /etc
 +
cp localtime localtime.orig
 +
ln -sf /usr/share/zoneinfo/Australia/Victoria localtime
 +
You can check to see that the time zone is now correct by using the <code>date</code> command from the shell.

Latest revision as of 04:54, 28 January 2019

By default ACID is configured for the US Pacific time zone. The file /etc/localtime controls which time zone the system thinks it is in. All of the time zone files the rest of the world are located in /usr/share/zoneinfo. To change the time zone, find the time zone file you want to use, and make a soft link to it like this:

cd /etc
cp localtime localtime.orig
ln -sf /usr/share/zoneinfo/Australia/Victoria localtime

You can check to see that the time zone is now correct by using the date command from the shell.