質問編集履歴
2
文法ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
<?php
|
14
14
|
|
15
|
-
$date = date
|
15
|
+
$date = date_create( get_field( '開催開始日' ) );
|
16
16
|
|
17
17
|
echo date_format( $date, 'm.d' );
|
18
18
|
|
1
文法ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
<?php
|
14
14
|
|
15
|
-
$date = date_create( get_field( '開催開始日' ) );
|
15
|
+
$date = date1_create( get_field( '開催開始日' ) );
|
16
16
|
|
17
17
|
echo date_format( $date, 'm.d' );
|
18
18
|
|
@@ -26,9 +26,9 @@
|
|
26
26
|
|
27
27
|
<?php
|
28
28
|
|
29
|
-
$date = date_create( get_field( '開催終了日' ) );
|
29
|
+
$date2 = date_create( get_field( '開催終了日' ) );
|
30
30
|
|
31
|
-
echo date_format( $date, 'm.d' );
|
31
|
+
echo date_format( $date2, 'm.d' );
|
32
32
|
|
33
33
|
?>
|
34
34
|
|