Skip to content

Commit ef6ba22

Browse files
committed
Merge branch '6.0' into 6.1
2 parents c8598f7 + 21e828a commit ef6ba22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/tutorial/series/part_2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ The code for the table head is similar to the other `th` elements:
144144
For the table body’s column, we need to make sure that the birthday is only show if it is actually set:
145145

146146
```smarty
147-
<td class="columnDate columnBirthday">{if $person->birthday}{$person->birthday|strtotime|date}{/if}</td>
147+
<td class="columnDate columnBirthday">{if $person->birthday}{$person->birthday}{/if}</td>
148148
```
149149

150150

snippets/tutorial/tutorial-series/part-2/templateListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<templatelistener name="personListBirthdayColumn">
1212
<eventname>columns</eventname>
1313
<environment>admin</environment>
14-
<templatecode><![CDATA[<td class="columnDate columnBirthday">{if $person->birthday}{$person->birthday|strtotime|date}{/if}</td>]]></templatecode>
14+
<templatecode><![CDATA[<td class="columnDate columnBirthday">{if $person->birthday}{$person->birthday}{/if}</td>]]></templatecode>
1515
<templatename>personList</templatename>
1616
</templatelistener>
1717
<!-- /admin -->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{if $person->birthday}
22
<dt>{lang}wcf.person.birthday{/lang}</dt>
3-
<dd>{$person->birthday|strtotime|date}</dd>
3+
<dd>{$person->birthday}</dd>
44
{/if}

0 commit comments

Comments
 (0)