Browse Source

k线固定位美国时间1

master
liaoxinyu 2 years ago
parent
commit
6870c5bf27
  1. 1
      static/chart_main/sevencoin.js

1
static/chart_main/sevencoin.js

@ -255,7 +255,6 @@ $(function () {
timestampToTime(timestamp) {
const dates = new Date(timestamp);
const date = this.adjustToEasternTime(dates);
// const getHours = date.getHours() > 12 ? date.getHours() - 12 : date.getHours() + 12
const yyyy = `${date.getFullYear()}`;
const yy = `${date.getFullYear()}`.substr(2);

Loading…
Cancel
Save