From 953b14ab22eb089414986d72730cdd5c86bb120c Mon Sep 17 00:00:00 2001 From: MARUYAMA Takayuki Date: Fri, 5 Aug 2016 02:27:15 +0900 Subject: Fix garbled mail subject (#3694) * Fix garbled mail subject * Notification email subject including full month --- api/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/post.go') 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) -- cgit v1.2.3-1-g7c22