andre hace 4 años
padre
commit
c85de2bc8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      sidebar-price.tpl

+ 1 - 1
sidebar-price.tpl

@@ -18,7 +18,7 @@
                         {capture name=endOfMonth} {date("t")} {/capture}
                         {assign var=daysInBetween value="`$smarty.capture.endOfMonth-$smarty.capture.dayOfMonth`"} *}
 {debug}
-                        {if date("t") < 20}
+                        {if $smarty.now|date_format:"%e"|trim < 20}
                             Der Preis bezieht sich auf die verbleibende<br />
                             Anzahl der Tage ({date("t") - $smarty.now|date_format:"%e"|trim}) zwischen der<br />
                             Bestellung und dem Ende des Monats<br />