trouble setting timezone for ukraine

Alexander Kapshuk alexander.kapshuk at gmail.com
Fri Nov 4 20:23:44 UTC 2011


On 11/04/11 22:15, Lowell Gilbert wrote:
> Ivan Klymenko <fidaj at ukr.net> writes:
>
>> В Fri, 04 Nov 2011 15:43:57 -0400
>> Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> пишет:
>>
>>> Alexander Kapshuk <alexander.kapshuk at 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 at 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



More information about the freebsd-questions mailing list