Skip to content

Commit

Permalink
MDL-58145 block_myoverview: format timestamps using userdate helper
Browse files Browse the repository at this point in the history
Part of MDL-55611 epic.
  • Loading branch information
lameze authored and Damyon Wiese committed Apr 3, 2017
1 parent fb36d8d commit 55b36b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion blocks/myoverview/templates/course-summary.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<h3><a href="{{viewurl}}">{{fullnamedisplay}}</a></h3>
</div>
<div class="row text-muted m-b-1">
{{startdate}} - {{enddate}}
{{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}} -
{{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
</div>
<div class="row text-muted">
{{#shortentext}} 140, {{{summary}}}{{/shortentext}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
</div>
</div>
<div class="row text-muted m-b-1">
{{startdate}} - {{enddate}}
{{#userdate}}{{startdate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}} -
{{#userdate}}{{enddate}}, {{#str}}strftimedate, langconfig{{/str}}{{/userdate}}
</div>
<div class="row text-muted">
{{#shortentext}} 140, {{{summary}}}{{/shortentext}}
Expand Down

0 comments on commit 55b36b1

Please sign in to comment.