correctly handle googlecode times versus local times
This commit is contained in:
parent
0b17da9d5d
commit
90b05dd23c
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ function updateGoogleCodeIndexes($update=false) {
|
|||
$zip->close();
|
||||
if (isset($mapNodes[$indexName])) {
|
||||
$exdate = DateTime::createFromFormat('d.m.Y', $mapNodes[$indexName]->getAttribute("date"));
|
||||
if($stat['mtime'] < $exdate->getTimestamp()) {
|
||||
$localdate = DateTime::createFromFormat('d.m.Y', $date);
|
||||
if($localdate->getTimestamp() <= $exdate->getTimestamp()) {
|
||||
continue;
|
||||
}
|
||||
$out = $mapNodes[$indexName];
|
||||
|
|
Loading…
Reference in a new issue