Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2014 18:15:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194173] Timezones (zoneinfo) starting from October 2014 wrong for Russia, etc
Message-ID:  <bug-194173-8-FSKmw5Wf6W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194173-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194173-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194173

--- Comment #3 from leo@sai.msu.ru ---
Also, this problem may cause application errors. For example:

[XXX@YYY ~]# freebsd-upgrade fetch
...
[XXX@YYY ~]# freebsd-upgrade install
...
[XXX@YYY ~]# pkg upgrade
...
[XXX@YYY ~]# date +'%d.%m.%Y %H:%M:%S %Z'
27.10.2014 12:30:00 MSK
[XXX@YYY ~]# TZ=Europe/Moscow date +'%d.%m.%Y %H:%M:%S %Z'
27.10.2014 12:30:06 MSK

[XXX@YYY ~]# php -r '
date_default_timezone_set("Europe/Moscow");
echo date("r e\n");'
Mon, 27 Oct 2014 11:30:21 +0300 Europe/Moscow

[XXX@YYY ~]# ruby -e "require 'tzinfo' ;
puts TZInfo::Timezone.get('Europe/Moscow').strftime('%d.%m.%Y %H:%M:%S %Z')"
27.10.2014 11:30:33 MSK

libc localtime may differ from localtime ruby, php and others with
unpredictable consequences

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194173-8-FSKmw5Wf6W>