Any news? In debian jessie bug is not fixed.

On Thu, 27 Nov 2014 05:40:04 +0400 Roman Vasilev <vasi...@fastvps.ru> wrote:
> Package: libicu48
> Version: 4.8.1.1-12+deb7u1
> Severity: normal
> Tags: upstream
> 
> -- System Information:
> Debian Release: 7.7
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 2.6.32-042stab093.5 (SMP w/2 CPU cores)
> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages libicu48 depends on:
> ii  libc6              2.13-38+deb7u6
> ii  libgcc1            1:4.7.2-5
> ii  libstdc++6         4.7.2-5
> ii  multiarch-support  2.13-38+deb7u6
> 
> libicu48 recommends no packages.
> libicu48 suggests no packages.
> 
> The code does not work properly due to the fact that Russia entered the
> winter time (GMT+3 instead GMT+4):
> 
> <?php
> 
> $dateIn = '27.10.2014';
> $tz = 'Europe/Moscow';
> date_default_timezone_set($tz);
> $intlDateFormatter = new \IntlDateFormatter('ru_RU', 2, -1, $tz, 1,
> 'dd.MM.yyyy');
> $timestamp = $intlDateFormatter->parse($dateIn);
> 
> var_dump($intlDateFormatter->format($timestamp));
> var_dump(date('d.m.Y', $timestamp));
> 
> Output
> 
> string(16) "27.10.2014"
> string(16) "26.10.2014"
> 
> Fix:
> 
> icupkg -a zoneinfo64.res icudt50l.dat
> icupkg -a metaZones.res icudt50l.dat
> icupkg -a timezoneTypes.res icudt50l.dat
> icupkg -a windowsZones.res icudt50l.dat
> 
> Files are located here:
> http://source.icu-project.org/repos/icu/data/trunk/tzdata/icunew/2014i/44/le/
> 
> After fix:
> 
> string(16) "27.10.2014"
> string(16) "27.10.2014"
> 

Reply via email to