【问题标题】:Which timezone to setup in server: Etc/UTC or Etc/Universal? [closed]在服务器中设置哪个时区:Etc/UTC 或 Etc/Universal? [关闭]
【发布时间】:2012-06-05 22:25:58
【问题描述】:
ubuntu 10.04 上提供了两个时区(Etc/UTC & Etc/Universal)。无法确定为 Web 服务器选择哪一个。
我认为 Etc/UTC 指向特定时区而不是 Etc/Universal 在语义上指向当前“基准”时间的理论。所以 Universal 是不二之选。
【问题讨论】:
标签:
linux
time
timezone
administration
【解决方案1】:
Etc/Universal 只是 Etc/UTC 的旧命名标准。 Etc/Zulo 也是如此。它有效,在每个实际方面都是一样的,但如果你想真正正确的话; Etc/UTC 是可以选择的。
来自 tz 数据库等文件:
# The following link uses older naming conventions,
# but it belongs here, not in the file `backward',
# as functions like gmtime load the "GMT" file to handle leap seconds properly.
# We want this to work even on installations that omit the other older names.
Link Etc/UTC Etc/Universal
Link Etc/UTC Etc/Zulu