Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #56 from wu-sheng/fix/416
Browse files Browse the repository at this point in the history
Forgot to submit.
  • Loading branch information
wu-sheng authored Sep 16, 2017
2 parents 28d1ad5 + acf7270 commit 94247a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/static/timeAxis/timeAxis.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ define(["jquery", "vue", "moment", "text!timeAxisHtml", "rangeSlider", "daterang
$.ajaxSettings.async = false;
$.getJSON("/time/sync/allInstance", function (data) {
timeDifferent = moment().format("x") - moment(data.timeBucket, "YYYYMMDDHHmmss").format("x");
vueData.timeBucket = moment(data.timeBucket, "YYYYMMDDHHmmss").format(dateFormat);
console.log("timeDifferent: " + timeDifferent);
});
return this;
Expand Down

0 comments on commit 94247a8

Please sign in to comment.