Skip to content

Commit 56ca1df

Browse files
authored
patch bug Validator.php
patch bug tanggal lahir 10
1 parent 7cae1a1 commit 56ca1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private function getBornDate()
7575

7676
// Get born date
7777
if($isFemale) $NIKdate -= 40;
78-
$date = ($NIKdate > 10) ? strval($NIKdate) : "0$NIKdate";
78+
$date = ($NIKdate >= 10) ? strval($NIKdate) : "0$NIKdate";
7979
// Get born month
8080
$month = substr($this->nik, 8, 2);
8181
// Get born year

0 commit comments

Comments
 (0)