andre před 4 roky
rodič
revize
c85de2bc8c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 />