这里的时区是亚洲/德黑兰,但是 ubuntu 时间比当地时间早 5 小时 30 分钟。
我已经检查了配置,甚至安装了 ntp 服务器,但似乎没有什么可以解决这个问题,
sudo dpkg-reconfigure tzdata
Current default time zone: 'Asia/Tehran'
Local time is now: Thu May 9 00:49:38 IRDT 2013.
Universal Time is now: Wed May 8 20:19:38 UTC 2013.
/etc/ntp.conf
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server ir.pool.ntp.org
server in.pool.ntp.org
server tr.pool.ntp.org
server ntp.ubuntu.com
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
目前的情况如下
$ date
Sun May 12 17:15:39 IRDT 2013
$ date --utc
Sun May 12 12:45:40 UTC 2013
according to Google my local time is
11:45 AM Sunday, May 12, 2013 (IRDT)