42 $ tzselect |
42 $ tzselect |
43 |
43 |
44 * Set timezone. |
44 * Set timezone. |
45 |
45 |
46 $ sudo tzconfig |
46 $ sudo tzconfig |
47 Your current time zone is set to Europe/Kiev |
47 ... |
48 Do you want to change that? [n]: y |
|
49 |
|
50 Please enter the number of the geographic area in which you live: |
|
51 |
|
52 1) Africa 7) Australia |
|
53 2) America 8) Europe |
|
54 3) US time zones 9) Indian Ocean |
|
55 4) Canada time zones 10) Pacific Ocean |
|
56 5) Asia 11) Use System V style time zones |
|
57 6) Atlantic Ocean 12) None of the above |
|
58 |
|
59 Number: 8 |
|
60 |
|
61 Then you will be shown a list of cities which represent the time zone |
|
62 in which they are located. You should choose a city in your time zone. |
|
63 |
|
64 Amsterdam Andorra Athens Belfast Belgrade Berlin Bratislava Brussels |
|
65 Bucharest Budapest Chisinau Copenhagen Dublin Gibraltar Guernsey Helsinki |
|
66 Isle_of_Man Istanbul Jersey Kaliningrad Kiev Lisbon Ljubljana London |
|
67 Luxembourg Madrid Malta Mariehamn Minsk Monaco Moscow Nicosia Oslo Paris |
|
68 Podgorica Prague Riga Rome Samara San_Marino Sarajevo Simferopol Skopje |
|
69 Sofia Stockholm Tallinn Tirane Tiraspol Uzhgorod Vaduz Vatican Vienna |
|
70 Vilnius Volgograd Warsaw Zagreb Zaporozhye Zurich |
|
71 |
|
72 Please enter the name of one of these cities or zones |
|
73 You just need to type enough letters to resolve ambiguities |
|
74 Press Enter to view all of them again |
|
75 |
|
76 Name: [] Kiev |
|
77 |
|
78 Your default time zone is set to 'Europe/Kiev'. |
|
79 Local time is now: Sun Feb 22 12:40:16 EET 2009. |
|
80 Universal Time is now: Sun Feb 22 10:40:16 UTC 2009. |
|
81 Your current time zone is set to Europe/Kiev |
|
82 |
48 |
83 Or using tzselect: |
49 Or using tzselect: |
84 |
50 |
85 $ sudo tzselect |
51 $ sudo tzselect |
86 Please identify a location so that time zone rules can be set correctly. |
52 ... |
87 Please select a continent or ocean. |
|
88 1) Africa |
|
89 2) Americas |
|
90 3) Antarctica |
|
91 4) Arctic Ocean |
|
92 5) Asia |
|
93 6) Atlantic Ocean |
|
94 7) Australia |
|
95 8) Europe |
|
96 9) Indian Ocean |
|
97 10) Pacific Ocean |
|
98 11) none - I want to specify the time zone using the Posix TZ format. |
|
99 #? 8 |
|
100 Please select a country. |
|
101 1) Aaland Islands 18) Greece 35) Norway |
|
102 2) Albania 19) Guernsey 36) Poland |
|
103 3) Andorra 20) Hungary 37) Portugal |
|
104 4) Austria 21) Ireland 38) Romania |
|
105 5) Belarus 22) Isle of Man 39) Russia |
|
106 6) Belgium 23) Italy 40) San Marino |
|
107 7) Bosnia & Herzegovina 24) Jersey 41) Serbia |
|
108 8) Britain (UK) 25) Latvia 42) Slovakia |
|
109 9) Bulgaria 26) Liechtenstein 43) Slovenia |
|
110 10) Croatia 27) Lithuania 44) Spain |
|
111 11) Czech Republic 28) Luxembourg 45) Sweden |
|
112 12) Denmark 29) Macedonia 46) Switzerland |
|
113 13) Estonia 30) Malta 47) Turkey |
|
114 14) Finland 31) Moldova 48) Ukraine |
|
115 15) France 32) Monaco 49) Vatican City |
|
116 16) Germany 33) Montenegro |
|
117 17) Gibraltar 34) Netherlands |
|
118 #? 48 |
|
119 Please select one of the following time zone regions. |
|
120 1) most locations 3) Zaporozh'ye, E Lugansk |
|
121 2) Ruthenia 4) central Crimea |
|
122 #? 1 |
|
123 |
|
124 The following information has been given: |
|
125 |
|
126 Ukraine |
|
127 most locations |
|
128 |
|
129 Therefore TZ='Europe/Kiev' will be used. |
|
130 Local time is now: Mon Mar 30 17:25:21 EEST 2009. |
|
131 Universal Time is now: Mon Mar 30 14:25:21 UTC 2009. |
|
132 Is the above information OK? |
|
133 1) Yes |
|
134 2) No |
|
135 #? 1 |
|
136 |
|
137 You can make this change permanent for yourself by appending the line |
|
138 TZ='Europe/Kiev'; export TZ |
|
139 to the file '.profile' in your home directory; then log out and log in again. |
|
140 |
|
141 Here is that TZ value again, this time on standard output so that you |
|
142 can use the /usr/bin/tzselect command in shell scripts: |
|
143 Europe/Kiev |
|
144 |
53 |
145 ** Debian Lenny. |
54 ** Debian Lenny. |
146 |
55 |
147 $ sudo dpkg-reconfigure tzdata |
56 $ sudo dpkg-reconfigure tzdata |