We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cae1a1 commit 56ca1dfCopy full SHA for 56ca1df
src/Validator.php
@@ -75,7 +75,7 @@ private function getBornDate()
75
76
// Get born date
77
if($isFemale) $NIKdate -= 40;
78
- $date = ($NIKdate > 10) ? strval($NIKdate) : "0$NIKdate";
+ $date = ($NIKdate >= 10) ? strval($NIKdate) : "0$NIKdate";
79
// Get born month
80
$month = substr($this->nik, 8, 2);
81
// Get born year
0 commit comments