changing the events widget to output the time instead of the date
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 16 Aug 2017 13:15:57 +0000 (09:15 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 16 Aug 2017 13:15:57 +0000 (09:15 -0400)
the events widget currently has the date twice, replacing the date with the time of the event

glm-member-db-events/views/front/events/eventsFrontPage.html

index b8e80e4..e335df7 100644 (file)
                     </div>
                 </a>
                 <div class="{if !$event.image}sidebar-full-width{/if} glm-events-frontpage-event-dates">
-                    {$event.dates}
+                    {$event.starting_date|date_format:"%l:%M %p"}
                 </div>
                 <div class="{if !$event.image}sidebar-full-width{/if} glm-events-frontpage-event-content">
                     {$event.intro}
                 </div>
             </div>
+<!--             <pre>{$event|@print_r}</pre>-->
+              {foreach $event.recurrences as $rec}
+              
+              {/foreach}
             {/foreach}
         {/foreach}
     {/foreach}