File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ function getStatusDescriptiveText(color) {
122
122
return color == "nodata"
123
123
? "No Data Available: Health check was not performed."
124
124
: color == "success"
125
- ? "No downtime recorded today ."
125
+ ? "No downtime recorded on this day ."
126
126
: color == "failure"
127
- ? "Major outages recorded today ."
127
+ ? "Major outages recorded on this day ."
128
128
: color == "partial"
129
- ? "Partial outages recorded today ."
129
+ ? "Partial outages recorded on this day ."
130
130
: "Unknown" ;
131
131
}
132
132
@@ -183,7 +183,7 @@ function splitRowsByDate(rows) {
183
183
}
184
184
185
185
const [ dateTimeStr , resultStr ] = row . split ( "," , 2 ) ;
186
- const dateTime = new Date ( Date . parse ( dateTimeStr + " GMT" ) ) ;
186
+ const dateTime = new Date ( Date . parse ( dateTimeStr . replace ( / - / g , "/" ) + " GMT" ) ) ;
187
187
const dateStr = dateTime . toDateString ( ) ;
188
188
189
189
let resultArray = dateValues [ dateStr ] ;
You can’t perform that action at this time.
0 commit comments