fix(widgets): respect the date_format option for experience widget (#783)

This commit is contained in:
Sun Yaozhu authored and gcushen committed 2018-11-03 18:09:39 +00:00
1 parent ca4fd7159d
commit 4b5c97262c
1 file changed
+2 -2
+2 -2
View File
@@ -34,9 +34,9 @@
<div class="card-body">
<div class="float-right text-muted exp-meta">
<div>
{{ (time .date_start).Format ($.Params.date_format | default "January 2006") }} –
{{ (time .date_start).Format ($page.Params.date_format | default "January 2006") }} –
{{ if .date_end}}
{{ (time .date_end).Format ($.Params.date_format | default "January 2006") }}
{{ (time .date_end).Format ($page.Params.date_format | default "January 2006") }}
{{else}}
{{ i18n "present" | default "Present" }}
{{end}}