We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IsAM
IsPM
1 parent ecbe3f7 commit 973d8b6Copy full SHA for 973d8b6
comparer_unit_test.go
@@ -121,9 +121,10 @@ func TestCarbon_IsAM(t *testing.T) {
121
3: {"00:00:00", false},
122
4: {"0000-00-00 00:00:00", false},
123
124
- 5: {"2020-08-05 08:00:00", true},
125
- 6: {"2020-08-05 12:00:00", false},
126
- 7: {"2020-08-05 13:00:00", false},
+ 5: {"2020-08-05 00:00:00", true},
+ 6: {"2020-08-05 08:00:00", true},
+ 7: {"2020-08-05 12:00:00", false},
127
+ 8: {"2020-08-05 13:00:00", false},
128
}
129
130
for index, test := range tests {
@@ -146,9 +147,10 @@ func TestCarbon_IsPM(t *testing.T) {
146
147
148
149
- 5: {"2020-08-05 08:00:00", false},
150
- 6: {"2020-08-05 12:00:00", true},
151
- 7: {"2020-08-05 13:00:00", true},
+ 5: {"2020-08-05 00:00:00", false},
+ 6: {"2020-08-05 08:00:00", false},
152
+ 7: {"2020-08-05 12:00:00", true},
153
+ 8: {"2020-08-05 13:00:00", true},
154
155
156
0 commit comments