mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-12 09:09:50 +01:00
Merge remote-tracking branch 'origin/master' into php5
This commit is contained in:
commit
a9bdce9469
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user