How to change the date format in summary emails?

(Christoph) #1

I believe I have customized all text content elements containing dates but my summary emails don’t seem to be affected by that, they’re still going out with the “Month Day” format instead of “Day Month”. What am I missing? Where is the date format for digest emails set?

Where to set the format of the Bounce Score reset date
Guide to email templates?
(Eli the Bearded) #2

I think you want this:

But I’m not 100% sure that it used for digests.

(Régis Hanol) #3

Which is defined in

Which means you’ll have to change the short_no_year strings to change the date format in digests.

Change to DD Mmm / Mmm 'YY for post dates
(Christoph) #4

Wow, thanks a lot! I missed that one because it doesn’t include “date” as a string. Are there any other “hidden” date or time format fields?

(Régis Hanol) #5

I think most of them are here.

(Christoph) #6

Indeed, I found two more. But if those that you are linking to are “most of them” why is the list of date fields in admin/site-settings/customize/site_texts so much longer?Felt like dozens, but at least 20, I’d say.

(Régis Hanol) #7

The others are the ones provided by rails or used in the web app (those starting with js.).