MDL-64064 block_timeline: Confusing when event is not in this year
If an event is not in the current year it can be confusing as the months and days may appear to be in the wrong order. This change adds the year to the displayed date to make the reason for the order clear.
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
}}
|
||||
<div class="border-bottom pb-2">
|
||||
{{#eventsbyday}}
|
||||
<h5 class="h6 mt-3 mb-0 {{#past}}text-danger{{/past}}">{{#userdate}} {{dayTimestamp}}, {{#str}} strftimedayshort, core_langconfig {{/str}} {{/userdate}}</h5>
|
||||
<h5 class="h6 mt-3 mb-0 {{#past}}text-danger{{/past}}">{{#userdate}} {{dayTimestamp}}, {{#str}} strftimedaydate, core_langconfig {{/str}} {{/userdate}}</h5>
|
||||
{{> block_timeline/event-list-items }}
|
||||
{{/eventsbyday}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user