amnuts / opcache-gui

A clean, effective and responsive interface for Zend OPcache
1.21k stars 197 forks source link

Fix opcache stats timezone #15

Closed alexandre-abrioux closed 7 years ago

alexandre-abrioux commented 7 years ago

date_create uses UTC format when passing a UNIX timestamp as first parameter, thus misrepresenting the date. This modification makes use of your default configured PHP timezone and fixes the issue.

amnuts commented 7 years ago

Thanks for the patch! :+1: