1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-04 02:27:52 +01:00

Merge remote-tracking branch 'origin/master' into php5

This commit is contained in:
terrafrost 2014-03-29 15:28:50 -05:00
commit a9bdce9469

View File

@ -3132,9 +3132,9 @@ class File_X509
{ {
$year = @gmdate("Y", @strtotime($date)); // the same way ASN1.php parses this $year = @gmdate("Y", @strtotime($date)); // the same way ASN1.php parses this
if ($year < 2050) { if ($year < 2050) {
return Array('utcTime' => $date); return array('utcTime' => $date);
} else { } else {
return Array('generalTime' => $date); return array('generalTime' => $date);
} }
} }