File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ function getStatusDescriptiveText(color) {
122122 return color == "nodata"
123123 ? "No Data Available: Health check was not performed."
124124 : color == "success"
125- ? "No downtime recorded today ."
125+ ? "No downtime recorded on this day ."
126126 : color == "failure"
127- ? "Major outages recorded today ."
127+ ? "Major outages recorded on this day ."
128128 : color == "partial"
129- ? "Partial outages recorded today ."
129+ ? "Partial outages recorded on this day ."
130130 : "Unknown" ;
131131}
132132
@@ -183,7 +183,7 @@ function splitRowsByDate(rows) {
183183 }
184184
185185 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" ) ) ;
187187 const dateStr = dateTime . toDateString ( ) ;
188188
189189 let resultArray = dateValues [ dateStr ] ;
You can’t perform that action at this time.
0 commit comments