其他地方的 Ubuntu 时间不起作用。
它曾经在 Ubuntu 14.10 中运行,但无法在 15.04 中添加其他位置的时间。
请帮忙。
答案1
您可以使用tzselect
命令,它会提示您选择在其中显示时间的区域。
tzselect is called without any parameters from the shell. It shows a
list of about one dozen geographic areas one can roughly recognize as
continents. After choosing a geographic area by number, a list of
countries and cities in this area will be shown.
You can press the Enter key to reprint the list. To choose a timezone,
just press the number left to it. If your input is invalid, the list
will be reprinted.
You may press Ctrl-C to interrupt the script at any time.
但请注意man tzselect
:
Note that tzselect will not actually change the timezone for you. Use
'dpkg-reconfigure tzdata' to achieve this.
因此,为了更改时区,您应该使用以下命令:
sudo dpkg-reconfigure tzdata
答案2
它现在正在工作。
谢谢大家。我将此标记为已解决并关闭。最新更新似乎已修复此问题。
:)