briannesbitt / Carbon

@@ -873,8 +873,7 @@
Loading
873 873
        if (\is_string($var)) {
874 874
            $var = trim($var);
875 875
876 -
            if (\is_string($var) &&
877 -
                !preg_match('/^P[0-9T]/', $var) &&
876 +
            if (!preg_match('/^P[0-9T]/', $var) &&
878 877
                !preg_match('/^R[0-9]/', $var) &&
879 878
                preg_match('/[a-z0-9]/i', $var)
880 879
            ) {

@@ -75,11 +75,11 @@
Loading
75 75
        'sameElse' => 'L',
76 76
    ],
77 77
    'meridiem' => function ($hour) {
78 -
        if ($hour < 11) {
78 +
        if ($hour < 12) {
79 79
            return 'pagi';
80 80
        }
81 81
        if ($hour < 15) {
82 -
            return 'tengahari';
82 +
            return 'tengah hari';
83 83
        }
84 84
        if ($hour < 19) {
85 85
            return 'petang';
Files Coverage
src/Carbon 100.00%
Project Totals (885 files) 100.00%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading