DA-660-8/16-LX User’s Manual
Managing Embedded Linux
3-11
2.
How to use the file
/etc/localtime
.
The local timezone is stored in
/etc/localtime
and is used by GNU Library for C (glibc) if the
TZ environment variable is not set. This file is either a copy of the
/usr/share/zoneinfo/
tree
or a symbolic link to it.
The DA-660 does not provide
/use/share/zoneinfo/
files, so you will need to copy a time zone
information file to the DA-660 and write over the original local time file.
y
The
/usr/share/zoneinfo
folder on a PC that is running standard Linux contains several
time zone information files.
y
Copy the time zone file that you want to use to the DA-660, and write over the original
/etc/localtime
file.
y
Type the date to check if the new time zone appears.