# How to change the date format in summary emails?

**URL:** <https://meta.discourse.org/t/how-to-change-the-date-format-in-summary-emails/64766>\
**Category:** UX\
**Created:** [2017年六月19日 19:03 UTC](https://meta.discourse.org/t/how-to-change-the-date-format-in-summary-emails/64766 "2017-06-19T19:03:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2018年七月2日 16:15 UTC](https://meta.discourse.org/t/how-to-change-the-date-format-in-summary-emails/64766/3 "2018-07-02T16:15:55Z")

</div>

> [@tophee](#):
>
> Where is the date format for digest emails set?

> <https://github.com/discourse/discourse/blob/7eb5f783438bc0ea86fe22ffe6f2bb6c7d369d73/app/views/user_notifications/digest.html.erb#L115>

Which is defined in

> <https://github.com/discourse/discourse/blob/0dee603ffca1c733e9fdcfcb18a45471e09d4872/app/mailers/user_notifications.rb#L132-L138>

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

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-the-date-format-in-summary-emails/64766)._
