Fix php date waring for php5-cli