Re: trouble setting timezone for ukraine

看板FB_questions作者時間14年前 (2011/11/05 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/11 (看更多)
On 11/04/11 22:15, Lowell Gilbert wrote: > Ivan Klymenko <fidaj@ukr.net> writes: > >> 圾 Fri, 04 Nov 2011 15:43:57 -0400 >> Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> 扭我扮快找: >> >>> Alexander Kapshuk <alexander.kapshuk@gmail.com> writes: >>> >>>> i'm based in ukraine. on 29 Oct 2011 ukraine went to winter time, >>>> i.e. we put our clocks one hour back. >>>> >>>> the current time in ukraine is 8.49 pm; the output of 'date' is: >>>> >>>> :; date >>>> Fri Nov 4 22:49:48 FET 2011 >>>> >>>> i tried resetting my timezone via 'sysinstall', but to no avail. >>>> >>>> do i use 'date' to set my system time to the right time, or is >>>> there a better way of doing it? >>>> >>>> :; uname -a >>>> FreeBSD localhost 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 >>>> UTC 2011 >>>> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >>> I think that your government changed its mind about staying on >>> standard time this year, but only did so at the last minute. So you >>> probably have an outdated timezone file. That would lead the >>> computer to be one hour late rather than two, but it's probably a >>> change you need to make. Also check the system's time in UTC to see >>> whether the clock itself is off. >> run tzsetup... > He already did that, using sysinstall. You can tell that he did it > correctly because his date(1) output says "FET" which is the correct > time zone for him. His time zone file is, almost certainly, too old, > and will remain so no matter how many times he reinstalls it. I think > the decision to change the rules was only made about two weeks ago, and > the updated time zone file couldn't have been available until after > that. I believe the updated tzdata files were brought into the tree on > October 25. thank you all for replying to my email. here's what i tried after reading your replies: tzsetup /usr/share/zoneinfo/Europe/Kiev tzsetup -r didn't help. i believe that sysinstall calls tzsetup as well, but i thought i'd try Ivan's suggestion anyway. here's the output of 'date' i get now: Sat Nov 5 00:21:52 FET 2011 the actual current time is 10.21 pm. any idea when an updated time zone file will become available? thanks. sasha _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Ej4l5Xr (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1Ej4l5Xr (FB_questions)