removing the year from the front page featured events template output
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 13 Mar 2017 19:58:22 +0000 (15:58 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 13 Mar 2017 19:58:22 +0000 (15:58 -0400)
glm-member-db-events/views/front/events/eventsFeed.html

index ef17e13..2ea7d76 100644 (file)
@@ -8,14 +8,14 @@
             {foreach from=$event.times key=myId item=i name=time}
                 {if $smarty.foreach.time.first}
                   
-                    <span class="front-event-date">{$i.start_time.timestamp|date_format:"%b %e %Y"}</span>
+                    <span class="front-event-date">{$i.start_time.timestamp|date_format:"%b %e"}</span>
                     {assign var=first value=$i.start_time.timestamp}
                     
                 {/if}
                 {if $smarty.foreach.time.last}
                     {if $first != $i.start_time.timestamp}
                       
-                       <span class="front-event-date"> - {$i.start_time.timestamp|date_format:"%b %e %Y"} </span>
+                       <span class="front-event-date"> - {$i.start_time.timestamp|date_format:"%b %e"} </span>
                        
                     {/if}
                 {/if}