回答編集履歴
1
ちょうせい
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
const ArrivalTime=1625563810570;
|
6
6
|
|
7
|
-
console.log(new Date(ArrivalTime).toLocaleDateString());
|
7
|
+
console.log(new Date(ArrivalTime).toLocaleDateString().replace(/(\d+)/(\d+)/(\d+)/,'$1年$2月$3日'));
|
8
8
|
|
9
9
|
|
10
10
|
|