diff options
author | Yi EungJun <eungjun.yi@navercorp.com> | 2015-12-08 12:23:38 +0900 |
---|---|---|
committer | Yi EungJun <eungjun.yi@navercorp.com> | 2015-12-08 13:18:00 +0900 |
commit | b8efeb2e72475378c7f58e1c8367f8b4da9b7efd (patch) | |
tree | 5de438b9f3769ec778f5850ab82b0eaccfed6fa7 /api/templates | |
parent | 49a459d696fc8fee0b508990fca571fb8d2f2654 (diff) | |
download | chat-b8efeb2e72475378c7f58e1c8367f8b4da9b7efd.tar.gz chat-b8efeb2e72475378c7f58e1c8367f8b4da9b7efd.tar.bz2 chat-b8efeb2e72475378c7f58e1c8367f8b4da9b7efd.zip |
Use local timezone for notification email
Local timezone is better default than UTC because it is common that all
users of a mattermost server live near the server.
Diffstat (limited to 'api/templates')
-rw-r--r-- | api/templates/post_body.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/templates/post_body.html b/api/templates/post_body.html index 182134b1a..00d4a563d 100644 --- a/api/templates/post_body.html +++ b/api/templates/post_body.html @@ -18,7 +18,7 @@ <tr> <td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;"> <h2 style="font-weight: normal; margin-top: 10px;">You were mentioned</h2> - <p>CHANNEL: {{.Props.ChannelName}}<br>{{.Props.SenderName}} - {{.Props.Hour}}:{{.Props.Minute}} GMT, {{.Props.Month}} {{.Props.Day}}<br><pre style="text-align:left;font-family: 'Lato', sans-serif; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">{{.Props.PostMessage}}</pre></p> + <p>CHANNEL: {{.Props.ChannelName}}<br>{{.Props.SenderName}} - {{.Props.Hour}}:{{.Props.Minute}} {{.Props.TimeZone}}, {{.Props.Month}} {{.Props.Day}}<br><pre style="text-align:left;font-family: 'Lato', sans-serif; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">{{.Props.PostMessage}}</pre></p> <p style="margin: 20px 0 15px"> <a href="{{.Props.TeamLink}}" style="background: #2389D7; display: inline-block; border-radius: 3px; color: #fff; border: none; outline: none; min-width: 170px; padding: 15px 25px; font-size: 14px; font-family: inherit; cursor: pointer; -webkit-appearance: none;text-decoration: none;">Go To Channel</a> </p> |