summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMARUYAMA Takayuki <maruTA-bis5@users.noreply.github.com>2016-08-05 02:27:15 +0900
committerChristopher Speller <crspeller@gmail.com>2016-08-04 13:27:15 -0400
commit953b14ab22eb089414986d72730cdd5c86bb120c (patch)
tree9b6719b11df1644ae24929921605c2ae154be232 /api
parent59d971dc751b0414c5b38c9df4b552e45f5641be (diff)
downloadchat-953b14ab22eb089414986d72730cdd5c86bb120c.tar.gz
chat-953b14ab22eb089414986d72730cdd5c86bb120c.tar.bz2
chat-953b14ab22eb089414986d72730cdd5c86bb120c.zip
Fix garbled mail subject (#3694)
* Fix garbled mail subject * Notification email subject including full month
Diffstat (limited to 'api')
-rw-r--r--api/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index 46c0284d0..0c7654df1 100644
--- a/api/post.go
+++ b/api/post.go
@@ -751,7 +751,7 @@ func sendNotificationEmail(c *Context, post *model.Post, user *model.User, chann
subjectPage := utils.NewHTMLTemplate("post_subject", user.Locale)
subjectPage.Props["Subject"] = userLocale("api.templates.post_subject",
map[string]interface{}{"SubjectText": subjectText, "TeamDisplayName": team.DisplayName,
- "Month": month[:3], "Day": day, "Year": year})
+ "Month": month, "Day": day, "Year": year})
subjectPage.Props["SiteName"] = utils.Cfg.TeamSettings.SiteName
bodyPage := utils.NewHTMLTemplate("post_body", user.Locale)