mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
[Client] Fix bug
This commit is contained in:
parent
486910c498
commit
4c1ff2f707
2 changed files with 10 additions and 10 deletions
|
@ -2,7 +2,7 @@ module.exports = date => {
|
||||||
if (typeof date == 'string') date = new Date(date);
|
if (typeof date == 'string') date = new Date(date);
|
||||||
return (
|
return (
|
||||||
date.getFullYear() + '年' +
|
date.getFullYear() + '年' +
|
||||||
date.getMonth() + 1 + '月' +
|
(date.getMonth() + 1) + '月' +
|
||||||
date.getDate() + '日' +
|
date.getDate() + '日' +
|
||||||
' ' +
|
' ' +
|
||||||
date.getHours() + '時' +
|
date.getHours() + '時' +
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
this.absolute =
|
this.absolute =
|
||||||
this.time.getFullYear() + '年' +
|
this.time.getFullYear() + '年' +
|
||||||
this.time.getMonth() + 1 + '月' +
|
(this.time.getMonth() + 1) + '月' +
|
||||||
this.time.getDate() + '日' +
|
this.time.getDate() + '日' +
|
||||||
' ' +
|
' ' +
|
||||||
this.time.getHours() + '時' +
|
this.time.getHours() + '時' +
|
||||||
|
|
Loading…
Add table
Reference in a new issue