Improve date format
This commit is contained in:
parent
967a3505df
commit
5480855ec0
1 changed files with 2 additions and 2 deletions
|
|
@ -59,11 +59,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Anreise</th>
|
<th>Anreise</th>
|
||||||
<td><?php the_field( 'anreise' ) ?></td>
|
<td><?php $an = get_field( 'anreise' ); echo(substr($an,6,2).'.'.substr($an,4,2).'.'.substr($an,0,4)) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Abreise</th>
|
<th>Abreise</th>
|
||||||
<td><?php the_field( 'abreise' ) ?></td>
|
<td><?php $ab = get_field( 'abreise' ); echo(substr($ab,6,2).'.'.substr($ab,4,2).'.'.substr($ab,0,4)) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue