Browse Source

修改k线时间

master
liaoxinyu 1 year ago
parent
commit
e2cb2e4dd3
  1. 3
      static/chart_main/sevencoin.js

3
static/chart_main/sevencoin.js

@ -255,7 +255,8 @@ $(function () {
}
timestampToTime(timestamp) {
const dates = new Date(timestamp);
const date = this.adjustToEasternTime(dates);
const resolutionTime = this.getResolutionTime()
const date = resolutionTime === 1 ? dates : this.adjustToEasternTime(dates);
const yyyy = `${date.getFullYear()}`;
const yy = `${date.getFullYear()}`;

Loading…
Cancel
Save