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) {
|
||||
this.busy = true;
|
||||
if (this.data.ai_chat_mode) {
|
||||
// YYYY-MM-DD HH:MM:SS
|
||||
var time = new Date().toISOString().replace('T', ' ').replace('Z', '');
|
||||
// YYYY-MM-DD HH:MM:SS local time
|
||||
var time = new Date().toLocaleString();
|
||||
wx.redirectTo({
|
||||
url: '/pages/chat/chat?serial_code=' + serial_code + '&time=' + time,
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user