From 1966047a0b4f307a088981e7e014588433bd499e Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期二, 14 十一月 2023 09:50:15 +0800
Subject: [PATCH] for h5 timestamp parse bug (#1084)
---
runtime/html5/static/main.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/runtime/html5/static/main.js b/runtime/html5/static/main.js
index e8408e9..20aa220 100644
--- a/runtime/html5/static/main.js
+++ b/runtime/html5/static/main.js
@@ -315,7 +315,7 @@
{
return tmptext;
}
- tmptext=tmptext.replace(/銆�/g, ","); // in case there are a lot of "銆�"
+ tmptext=tmptext.replace(/銆倈锛焲锛寍銆亅\?|\./g, ","); // replace all punc for parse
var words=tmptext.split(",");
var jsontime=JSON.parse(tmptime); //JSON.parse(tmptime.replace(/\]\]\[\[/g, "],[")); // in case there are a lot segments by VAD
var char_index=0;
--
Gitblit v1.9.1