Hi,

Whenever a new event is created the time is displayed differently in the sidebar and main content area.

Changing several settings within the admin backend did not help (or at least I could not find any helpful setting).

I managed to change the code in the template 'node--event.tpl.php' from

  <div class="col-md-3" style="margin-top:2em;">
            <!--span style="font-size: 2em; text-align: center; font-weight: bold; color: #b9bec3;"><?php print t(strtolower(date('D',$created))); ?></span>
            <h4><?php print t(date('M',$created)); ?></h4>
            <h2><?php print date('d',$created); ?></h2-->
            <!--h4><?php print t(strtolower(date('D',$created))); ?> <?php print t(date('M',$created)); ?> <?php print date('d',$created); ?></h4-->
            <!--span style="font-size: 1em; font-family: 'Raleway';"><?php echo strftime("%a %e %b %y");?></span-->
            <div class="node-event-date-box">
             <?php print t($beginDate->format('j'));?> <?php print strtolower(t($beginDate->format('F')));?> <?php print t($beginDate->format('Y'));?>
            <div>
            <?php echo $beginDate->format('H'); ?>:<?php echo $beginDate->format('i'); ?>
            <?php if($beginDate!=$endDate):?>
             - <?php echo $endDate->format('H'); ?>:<?php echo $endDate->format('i'); ?>
            <?php endif;?>
            </div>
            <div class="node-event-date-box-bottom-line"></div>
            </div>
            <?php print render($content['field_event_image']);?>
    </div>

to (see the addition of +1 for beginDate and format)

  <div class="col-md-3" style="margin-top:2em;">
            <!--span style="font-size: 2em; text-align: center; font-weight: bold; color: #b9bec3;"><?php print t(strtolower(date('D',$created))); ?></span>
            <h4><?php print t(date('M',$created)); ?></h4>
            <h2><?php print date('d',$created); ?></h2-->
            <!--h4><?php print t(strtolower(date('D',$created))); ?> <?php print t(date('M',$created)); ?> <?php print date('d',$created); ?></h4-->
            <!--span style="font-size: 1em; font-family: 'Raleway';"><?php echo strftime("%a %e %b %y");?></span-->
            <div class="node-event-date-box">
             <?php print t($beginDate->format('j'));?> <?php print strtolower(t($beginDate->format('F')));?> <?php print t($beginDate->format('Y'));?>
            <div>
            <?php echo $beginDate->format('H')+1; ?>:<?php echo $beginDate->format('i'); ?>
            <?php if($beginDate!=$endDate):?>
             - <?php echo $endDate->format('H')+1; ?>:<?php echo $endDate->format('i'); ?>
            <?php endif;?>
            </div>
            <div class="node-event-date-box-bottom-line"></div>
            </div>
            <?php print render($content['field_event_image']);?>
    </div>

This makes a correction to the indicated time.  But as we are in a timezone that changes yearly I would like to implement an automated solution so bot the time in the sidebar and main content area are the same.

Link to examplepage of our website:

https://www.ritcs.be/nl/agenda/great-dictator-1940-charles-chaplin

How could I change the above code into a more permanent one?

Thanks and regards.