Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
:bug: Fixes #81
Liyas Thomas4237dfc9d128
diff --git a/pages/index.vue b/pages/index.vueindex 997c1b178..bfa91faa1 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -197,7 +197,7 @@<ul v-for="entry in history" :key="entry.millis" class="entry"><li><label for="time">Time</label>- <input name="time" type="text" readonly :value="entry.time">+ <input name="time" type="text" readonly :value="entry.time" :title="entry.date"></li><li class="method-list-item"><label for="method">Method</label>@@ -436,10 +436,12 @@this.response.body = JSON.stringify(JSON.parse(this.response.body), null, 2);}}- const n = new Date().toLocaleTimeString();+ const d = new Date().toLocaleDateString();+ const t = new Date().toLocaleTimeString();this.history = [{status: xhr.status,- time: n,+ date: d,+ time: t,method: this.method,url: this.url,path: this.path