Improve date format

This commit is contained in:
Markus Ankenbrand 2016-09-07 21:09:37 +02:00
parent 967a3505df
commit 5480855ec0

View file

@ -59,11 +59,11 @@
</tr>
<tr>
<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>
<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>
</table>