dedecms 5.7 采集目标文章的发布时间 采集后变成当前本地时间 2018-07-24 故障问题 我已经解决了。现在把方法告诉你。都是我自己摸索出来的。。虽然我不知道什么意思。。。 下面是步骤: 1:找到 co_export.php 然后找到这段代码: else if($itemName == 'pubdate') { $pubdate = trim($ctag->GetInnerText()); if(preg_match("#[^0-9]#", $pubdate)) { $pubdate = $sortrank = GetMkTime($pubdate); } /* else { $pubdate = $sortrank = time(); } */ } else if($itemName == 'litpic') { $litpic = trim($ctag->GetInnerText()); } 12345678910111213141516171819 else if($itemName == 'pubdate') { $pubdate = trim($ctag->GetInnerText()); if(preg_match("#[^0-9]#", $pubdate)) { $pubdate = $sortrank = GetMkTime($pubdate); } /* else { $pubdate = $sortrank = time(); } */ } else if($itemName == 'litpic') { $litpic = trim($ctag->GetInnerText()); } 2.然后干掉 /* */之间的代码就OK了。
请先
!