summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-19 01:10:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-19 01:10:53 +0900
commit6c47bf5b76e1d8538d399c510aabcb7eeeb5729a (patch)
treea1b1f81bfda268525c97654d0b729e469a55c0bf /src
parent[Client] Resolve #3658 (diff)
downloadsharkey-6c47bf5b76e1d8538d399c510aabcb7eeeb5729a.tar.gz
sharkey-6c47bf5b76e1d8538d399c510aabcb7eeeb5729a.tar.bz2
sharkey-6c47bf5b76e1d8538d399c510aabcb7eeeb5729a.zip
[Client] Resolve #3662
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/time.vue9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/client/app/common/views/components/time.vue b/src/client/app/common/views/components/time.vue
index 84f701469e..d064b7820e 100644
--- a/src/client/app/common/views/components/time.vue
+++ b/src/client/app/common/views/components/time.vue
@@ -33,14 +33,7 @@ export default Vue.extend({
return typeof this.time == 'string' ? new Date(this.time) : this.time;
},
absolute(): string {
- const time = this._time;
- return (
- time.getFullYear() + '年' +
- (time.getMonth() + 1) + '月' +
- time.getDate() + '日' +
- ' ' +
- time.getHours() + '時' +
- time.getMinutes() + '分');
+ return this._time.toLocaleString();
},
relative(): string {
const time = this._time;