diff --git a/fancytokens.php b/fancytokens.php index bfcd6d9..13f4b78 100644 --- a/fancytokens.php +++ b/fancytokens.php @@ -499,7 +499,7 @@ $protocol = $isSecure ? 'https://' : 'http://'; if( is_numeric( $date_number) && ( $date_unit == 'day' || $date_unit == 'week' || $date_unit == 'month' )){ // get event data $sql = "SELECT e.id , e.summary, e.title, e.registration_link_text, - date_format( e.start_date, '%d/%m/%Y à %Hh%i' ) as start_date , + e.start_date as start_date , if( e.is_online_registration = 1 AND ( e.registration_end_date is null || now() <= e.registration_end_date ) AND ( e.registration_start_date is null || now() >= e.registration_start_date ), '1', '0') as @@ -571,7 +571,7 @@ $protocol = $isSecure ? 'https://' : 'http://'; if( is_numeric( $token_event_id) ){ // get event data $sql = "SELECT e.id , e.summary, e.title, e.registration_link_text, - date_format( e.start_date, '%d/%m/%Y à %Hh%i' ) as start_date , + e.start_date as start_date , if( e.is_online_registration = 1 AND ( e.registration_end_date is null || now() <= e.registration_end_date ) AND ( e.registration_start_date is null || now() >= e.registration_start_date ), '1', '0') as