Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
parse dates as timestamps in roundtrip table, fix #2291
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jul 9, 2018
1 parent e7bb477 commit 74be3ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/vue/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><link rel=stylesheet href=vendor/furtive.min.css><title>Gekko</title><link as=style href=/css/app.e1d9fa4d.css rel=preload><link as=script href=/js/app.0c714f34.js rel=preload><link as=script href=/js/chunk-vendors.f8e19183.js rel=preload><link href=/css/app.e1d9fa4d.css rel=stylesheet></head><body><noscript><strong>We're sorry but gekko-vue-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=UIconfig.js></script><script src=vendor/reconnecting-websocket.min.js></script><script src=vendor/moment.js></script><script src=vendor/d3.js></script><script src=vendor/toml.js></script><script src=vendor/humanize-duration.js></script><script src=/js/chunk-vendors.f8e19183.js></script><script src=/js/app.0c714f34.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><link rel=stylesheet href=vendor/furtive.min.css><title>Gekko</title><link as=style href=/css/app.e1d9fa4d.css rel=preload><link as=script href=/js/app.ed182ffa.js rel=preload><link as=script href=/js/chunk-vendors.f8e19183.js rel=preload><link href=/css/app.e1d9fa4d.css rel=stylesheet></head><body><noscript><strong>We're sorry but gekko-vue-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=UIconfig.js></script><script src=vendor/reconnecting-websocket.min.js></script><script src=vendor/moment.js></script><script src=vendor/d3.js></script><script src=vendor/toml.js></script><script src=vendor/humanize-duration.js></script><script src=/js/chunk-vendors.f8e19183.js></script><script src=/js/app.ed182ffa.js></script></body></html>
1 change: 0 additions & 1 deletion web/vue/dist/js/app.0c714f34.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/vue/dist/js/app.ed182ffa.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
methods: {
diff: n => moment.duration(n).humanize(),
humanizeDuration: (n) => window.humanizeDuration(n),
fmt: mom => moment(mom).utc().format('YYYY-MM-DD HH:mm'),
fmt: mom => moment.unix(mom).utc().format('YYYY-MM-DD HH:mm'),
round: n => (+n).toFixed(3),
},
}
Expand Down

0 comments on commit 74be3ce

Please sign in to comment.