Topic: tzdata with-system-tzdata different behavior
Hello,
first of all ... Thanks a lot for your packages an everything arround!!!
We might have a problem "again" with timestamps due to tzdata-usage. Before we used a self-compiled version php-5.6.10. Now we are using remi-php-5.6.10 ;-).
From Bash-Shell
$ export TZ="Europe/Berlin"; date --date='TZ="Europe/Berlin" 0001-01-01 00:00:00' +%s => -62135600008
If we want to get a timestamp in seconds for out Timezone "Europe/Berlin" since 01.01.0001 ;-) we got a wrong result (-62135600400) before php-5.6.9.
Maybe you take a look here: http://3v4l.org/JIvSC.
With php-5.6.9+ we got the right result (-62135600008).
Now with remi-php-5.6.9+ with the tzdata-Patch (--with-system-tzdata) we got a wrong result again (-62135600400).
-> RPM installed => tzdata-2015d-1.el6.noarch
That`s why i complied the remi-source of php-5.6.11 without "--with-system-tzdata" (so use the internal tzdata-DB) an the result was as expected correct: => -62135600008
My Question now:
- Is it a bug from the patch?
- Is it a bug from system-tzdata
- Everything else?
May you can help us?
Bye