adding day of week on the date format for the event detail view
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 26 Jun 2017 14:23:39 +0000 (10:23 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 26 Jun 2017 14:23:39 +0000 (10:23 -0400)
changing the event detail output to have the day of the week before the date of the
event

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

index 2c7941b..c176034 100644 (file)
@@ -33,7 +33,7 @@
                                     {if $event.recurrences.0.recurring.value == 1} Occurring {/if}
                                     
                                     
-                                    {$rec.from_date.timestamp|date_format: "%B %e, %Y"}
+                                    {$rec.from_date.timestamp|date_format: "%A, %B %e, %Y"}
                                       {if $rec.from_date.date != $rec.to_date.date}
                                         - {$rec.to_date.timestamp|date_format:"%B %e, %Y"}
                                        {else if $rec.specific_dates}