From f8dafe6b10a6c1124ca7e913e0a5986bf90a61b5 Mon Sep 17 00:00:00 2001 From: niawag Date: Thu, 6 Oct 2016 16:39:18 +0200 Subject: [PATCH] Update ReadComicsBridge.php --- bridges/ReadComicsBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/ReadComicsBridge.php b/bridges/ReadComicsBridge.php index 0cc8a7a..59f48d3 100644 --- a/bridges/ReadComicsBridge.php +++ b/bridges/ReadComicsBridge.php @@ -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;