{{ assignment.duty.event.date|date:"D j M" }}
({{ assignment.duty.event.name }}),
{{ assignment.duty.start_time|time:"g:i A" }} - {{ assignment.duty.end_time|time:"g:i A" }}
for {{ assignment.duty.activity.name|lower }} {% if assignment.actual_location %} at the {% firstof assignment.actual_location.assignment_message_description assignment.actual_location.name %} {% endif %}

{% load firstof from future %}
{{ assignment.duty.event.date|date:"D j M" }}
({{ assignment.duty.event.name }}),
{{ assignment.duty.start_time|time:"g:i A" }} - {{ assignment.duty.end_time|time:"g:i A" }}
for {{ assignment.duty.activity.name|lower }} {% if assignment.actual_location %} at the {% firstof assignment.actual_location.assignment_message_description assignment.actual_location.name %} {% endif %}

Fix future deprication warning during tests.
Fix future deprication warning during tests.
