diff options
author | MARUYAMA Takayuki <maruTA-bis5@users.noreply.github.com> | 2016-08-05 02:27:15 +0900 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-08-04 13:27:15 -0400 |
commit | 953b14ab22eb089414986d72730cdd5c86bb120c (patch) | |
tree | 9b6719b11df1644ae24929921605c2ae154be232 | |
parent | 59d971dc751b0414c5b38c9df4b552e45f5641be (diff) | |
download | chat-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
-rw-r--r-- | api/post.go | 2 |
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) |