I modified the page event extension to use a start and end datetime instead of just one datetime for the page event. I also added a event:duration tag that renders the start and end datetimes intelligently.
If the start and end datetimes are the same, only the start datetime is rendered. If the start and end is on the same day, the date for the start and the times for the start and end are rendered. Otherwise, both the date and the time are rendered for the start and end datetimes. Also, I added attributes on the date and time tags so that you can specify a format string. <r:event:date [format="%B %e, %Y"] /> <r:event:date [format="%I:%M %p"] /> <r:event:duration [date_format="%B %e, %Y"] [time_format="%I:%M %p"] /> Get it at http://github.com/MrGossett/radiant-page-event/tree/master _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
