php strtotime()关闭1分钟


php strtotime() off by 1 minute?

我是唯一一个返回错误时间的人吗?

$date_str = "2016-Mar-28 06:04:31 PM";
$timestamp = strtotime($date_str);
echo date('Y-m-d H:m:s', $timestamp);'
//Returns: 2016-03-28 18:03:31

注18:03:31而不是18:04:31,我的时区是正确的,我敢打赌它会在几个小时而不是1分钟前关闭,运行PHP 5.6.6

$date_str = "2016-Mar-28 06:04:31 PM";
$timestamp = strtotime($date_str);
echo date('Y-m-d H:i:s', $timestamp);

答案:

2016-03-28 18:04:31

问题:错误的分钟

  m = month

参考文献1参考2