Update ReadComicsBridge.php
This commit is contained in:
parent
952bde0425
commit
f8dafe6b10
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class ReadComicsBridge extends BridgeAbstract{
|
|||
|
||||
function parseDateTimestamp($element){
|
||||
$guessedDate = $element->find('span',0)->plaintext;
|
||||
$guessedDate = strptime($guessedDate, '%d/%m/%Y');
|
||||
$guessedDate = strptime($guessedDate, '%m/%d/%Y');
|
||||
$timestamp = mktime(0, 0, 0, $guessedDate['tm_mon'] + 1, $guessedDate['tm_mday'], date('Y'));
|
||||
|
||||
return $timestamp;
|
||||
|
|
Loading…
Reference in a new issue