Fix CSV and PlainText outputs not rendering timestamps correctly

Fixes #65
pull/66/head
Alexey Golub 6 years ago
parent 0a48da4c56
commit 4fbec95208

@ -1,10 +1,9 @@
Author;Date;Content;Attachments; Author;Date;Content;Attachments;
{{~ for group in MessageGroups -}}
{{- for group in MessageGroups -}}
{{- for message in group.Messages -}} {{- for message in group.Messages -}}
{{- message.Author.FullName }}; {{- message.Author.FullName }};
{{- message.TimeStamp | FormatDate }}; {{- message.Timestamp | FormatDate }};
{{- message.Content | FormatContent }}; {{- message.Content | FormatContent }};

Can't render this file because it contains an unexpected character in line 11 and column 41.

@ -7,7 +7,7 @@ Range: {{ if From }}{{ From | FormatDate }} {{ end }}{{ if From || To }}->{{
============================================================== ==============================================================
{{~ for group in MessageGroups ~}} {{~ for group in MessageGroups ~}}
{{~ group.Author.FullName }} [{{ group.TimeStamp | FormatDate }}] {{~ group.Author.FullName }} [{{ group.Timestamp | FormatDate }}]
{{~ for message in group.Messages ~}} {{~ for message in group.Messages ~}}
{{~ message.Content | FormatContent }} {{~ message.Content | FormatContent }}
{{~ for attachment in message.Attachments ~}} {{~ for attachment in message.Attachments ~}}

Loading…
Cancel
Save