Relaxed date/time parsing in RDS.

This commit is contained in:
Marat Fayzullin 2023-12-09 23:47:34 -05:00
parent 32c42a8c33
commit c1b727f88a
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ RdsMessagePanel.prototype.pushMessage = function(msg) {
// CT = "2023-12-08T16:40:00-05:00" => "2023-12-08 16:40:00"
if (ct) {
var matches = ct.match(/^(\d\d\d\d-\d\d-\d\d)T(\d\d:\d\d:\d\d)/);
var matches = ct.match(/^(.*)T(.*)[Z+\-]/);
if (matches) ct = matches[1] + ' ' + matches[2];
}