Commit 74f90d45bff9e3b410ddaefa451e347528a34843
1 parent
ddc58615
Exists in
master
and in
96 other branches
correct time format for text
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
php/classes/FilesMgr.php
... | ... | @@ -273,7 +273,7 @@ class FilesMgr extends AmdaObjectMgr |
273 | 273 | while (!feof($handler) && !$StartTime) { |
274 | 274 | $oneLine = trim(preg_replace('/\s+/', ' ', fgets($handler))); |
275 | 275 | $elems = explode(' ', $oneLine); |
276 | - if ((strlen($elems[0]) < 16) || !($time = strtotime($elems[0]))) { | |
276 | + if ((strlen($elems[0]) < 15) || !($time = strtotime($elems[0]))) { | |
277 | 277 | $i++; |
278 | 278 | continue; |
279 | 279 | } |
... | ... | @@ -532,7 +532,7 @@ class FilesMgr extends AmdaObjectMgr |
532 | 532 | $i++; |
533 | 533 | if (!$timeDouble) |
534 | 534 | { |
535 | - if (strlen($elems[0]) >= 16 && ($time = strtotime($elems[0]))) | |
535 | + if (strlen($elems[0]) >= 15 && ($time = strtotime($elems[0]))) | |
536 | 536 | { |
537 | 537 | $found = true; |
538 | 538 | break; |
... | ... |