Skip to content

Commit

Permalink
Replace use of deprecated date function in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
opengeek committed Oct 2, 2024
1 parent 2e1a739 commit c00f6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/templates/footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<footer>
<div class="wrapper">
<div class="copyrite">
<p>{$_lang.modx_footer1|replace:'[[+current_year]]':{'Y'|date}}</p>
<p>{$_lang.modx_footer1|replace:'[[+current_year]]':{$smarty.now|date_format:"%Y"}}</p>
</div>
<div class="copyrite_info">
<p>{$_lang.modx_footer2}</p>
Expand Down

0 comments on commit c00f6ae

Please sign in to comment.