Commit 808c4966 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Add "end time" to item viewer's display of events

Display the end time of events in addition to their durations, just as
is done for tool tips.

BUG: 438082

AFAICT, the properties that the old template tested have never been set
in any version of incidenceformatter.cpp
parent b3e170bb
Pipeline #65078 skipped
......@@ -45,7 +45,7 @@ td {
</tr>
<tr>
<th valign="top">Time:</th>
<td>17:00:00</td>
<td>17:00:00 - 18:00:00</td>
</tr>
<!-- Duration -->
<tr>
......
......@@ -50,7 +50,7 @@ td {
</tr>
<tr>
<th valign="top">Time:</th>
<td>01:00:00</td>
<td>01:00:00 - 02:30:00</td>
</tr>
<!-- Duration -->
<tr>
......
......@@ -44,7 +44,7 @@ td {
</tr>
<tr>
<th valign="top">Time:</th>
<td>09:45:00</td>
<td>09:45:00 - 13:15:00</td>
</tr>
<!-- Duration -->
<tr>
......
......@@ -44,7 +44,7 @@ td {
</tr>
<tr>
<th valign="top">Time:</th>
<td>09:45:00</td>
<td>09:45:00 - 13:15:00</td>
</tr>
<!-- Duration -->
<tr>
......
......@@ -45,7 +45,7 @@
</tr>
<tr>
<th valign="top">{% i18n "Time:" %}</th>
{% if incidence.hasEnd and incidence.overnight %}
{% if incidence.startTime != incidence.endTime %}
<td>{% i18nc "<beginTime> - <endTime>" "%1 - %2" incidence.startTime|ktime:"short" incidence.endTime|ktime:"short" %}</td>
{% else %}
<td>{% i18nc "Time as string" "%1" incidence.startTime|ktime:"short" %}</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment