Skip to content

Commit

Permalink
6.1.126
Browse files Browse the repository at this point in the history
🔌 最佳化
時間採用本地電腦時間
  • Loading branch information
yayacat committed Dec 7, 2024
1 parent 8466832 commit c1e1144
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion TREM.Electron/js/earthquake.js
Original file line number Diff line number Diff line change
Expand Up @@ -7112,7 +7112,8 @@ function findClosest(arr, target) {
}

function NOW() {
return new Date(ServerTime + (Date.now() - ((ServerT != 0 && setting["Real-time.websocket"] === "exptech") ? ServerT : ServerT_yayacat)));
// return new Date(ServerTime + (Date.now() - ((ServerT != 0 && setting["Real-time.websocket"] === "exptech") ? ServerT : ServerT_yayacat)));
return new Date(Date.now());
}

function timeconvert(time) {
Expand Down
2 changes: 1 addition & 1 deletion TREM.Electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tremv",
"version": "6.1.125",
"version": "6.1.126",
"description": "Taiwan Real-time Earthquake Monitoring Variety ( 臺灣即時地震監測變體 )",
"main": "main.js",
"homepage": "https://exptech.com.tw/",
Expand Down

0 comments on commit c1e1144

Please sign in to comment.