Setting the timezone: Difference between revisions
Clandmeter (talk | contribs) (Created page with "==Please note: Only for NON uclibc installs== glibc based installs use different timezone setup. # ls /usr/share/zoneinfo (Suppose you want to use Brussels) (First copy the ...") |
Clandmeter (talk | contribs) |
||
Line 3: | Line 3: | ||
glibc based installs use different timezone setup. | glibc based installs use different timezone setup. | ||
apk add tzdata | |||
ls /usr/share/zoneinfo | |||
(Suppose you want to use Brussels) | (Suppose you want to use Brussels) | ||
(First copy the proper zone to localtime) | (First copy the proper zone to localtime) | ||
cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime | |||
(Now specify your timezone) | (Now specify your timezone) | ||
echo "Europe/Brussels" > /etc/timezone | |||
date | |||
Wed Mar 8 00:46:05 CET 2006 | |||
Wed Mar 8 00:46:05 CET 2006 |
Revision as of 23:18, 11 January 2013
Please note: Only for NON uclibc installs
glibc based installs use different timezone setup.
apk add tzdata ls /usr/share/zoneinfo
(Suppose you want to use Brussels) (First copy the proper zone to localtime)
cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
(Now specify your timezone)
echo "Europe/Brussels" > /etc/timezone date Wed Mar 8 00:46:05 CET 2006