scanner/chat: Show local time in verify result
This commit is contained in:
parent
5557efe0a5
commit
923534ca12
@ -284,8 +284,8 @@ Page({
|
|||||||
show_result_page(serial_code) {
|
show_result_page(serial_code) {
|
||||||
this.busy = true;
|
this.busy = true;
|
||||||
if (this.data.ai_chat_mode) {
|
if (this.data.ai_chat_mode) {
|
||||||
// YYYY-MM-DD HH:MM:SS
|
// YYYY-MM-DD HH:MM:SS local time
|
||||||
var time = new Date().toISOString().replace('T', ' ').replace('Z', '');
|
var time = new Date().toLocaleString();
|
||||||
wx.redirectTo({
|
wx.redirectTo({
|
||||||
url: '/pages/chat/chat?serial_code=' + serial_code + '&time=' + time,
|
url: '/pages/chat/chat?serial_code=' + serial_code + '&time=' + time,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user