[Bug 194173] Timezones (zoneinfo) starting from October 2014 wrong for Russia, etc
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 6 18:15:20 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194173
--- Comment #3 from leo at sai.msu.ru ---
Also, this problem may cause application errors. For example:
[XXX at YYY ~]# freebsd-upgrade fetch
...
[XXX at YYY ~]# freebsd-upgrade install
...
[XXX at YYY ~]# pkg upgrade
...
[XXX at YYY ~]# date +'%d.%m.%Y %H:%M:%S %Z'
27.10.2014 12:30:00 MSK
[XXX at YYY ~]# TZ=Europe/Moscow date +'%d.%m.%Y %H:%M:%S %Z'
27.10.2014 12:30:06 MSK
[XXX at 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 at 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.
More information about the freebsd-bugs
mailing list