Last active
May 31, 2020 17:15
-
-
Save luberius/b0d651a7afec55e96d6802e53a01fe05 to your computer and use it in GitHub Desktop.
Revisions
-
luberius revised this gist
May 31, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ <?php function getMonthName($month) { switch ($month) { case 1: $month = 'Januari'; @@ -40,6 +38,8 @@ function getMonthName($month) { case 12: $month = 'Desember'; break; default: $month = 'Invalid'; } return $month; -
luberius revised this gist
May 31, 2020 . No changes.There are no files selected for viewing
-
luberius revised this gist
May 31, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ <?php function getMonthName($month) { $month = 'Januari'; -
luberius created this gist
May 31, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ function getMonthName($month) { $month = 'Januari'; switch ($month) { case 1: $month = 'Januari'; break; case 2: $month = 'Februari'; break; case 3: $month = 'Maret'; break; case 4: $month = 'April'; break; case 5: $month = 'Mei'; break; case 6: $month = 'Juni'; break; case 7: $month = 'Juli'; break; case 8: $month = 'Agustus'; break; case 9: $month = 'September'; break; case 10: $month = 'Oktober'; break; case 11: $month = 'November'; break; case 12: $month = 'Desember'; break; } return $month; }