* Plugin Name: GLM Associate - Events Add-On
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.6.99
+ * Version: 1.6.100
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseEventsAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.6.99
+ * @version 1.6.100
*/
// Check that we're being called by WordPress.
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.99');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.100');
define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.6');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
{$event_end_time = $event.starting_date|date_format:"%m/%d/%Y"}
{$event_end_time = $event_end_time|cat:' '}
{$event_end_time = $event_end_time|cat:$rec.end_time.time}
- {if $event_start_time|date_format:"%l:%M %P" == $event_end_time|date_format:"%l:%M %P"}
+ {if $event_start_time|date_format:"%l:%M %P" == $event_end_time|date_format:"%l:%M %P" or $rec.start_time_only.value == '1'}
{$event_start_time|date_format:"%l:%M %P"}
{else}
{$event_start_time|date_format:"%l:%M %P"} - {$event_end_time|date_format:"%l:%M %P"}