# Internal Server Error when previewing digest emails

**URL:** https://meta.discourse.org/t/internal-server-error-when-previewing-digest-emails/380954
**Category:** Bug
**Tags:** email, pr-welcome, activity-summary
**Created:** [August 29, 2025, 10:36pm UTC](https://meta.discourse.org/t/internal-server-error-when-previewing-digest-emails/380954 "2025-08-29T22:36:13Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![ghassan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghassan/32/263566_2.png) [@ghassan](https://meta.discourse.org/u/ghassan)
#### Post date: [September 10, 2025, 7:27pm UTC](https://meta.discourse.org/t/internal-server-error-when-previewing-digest-emails/380954/16 "2025-09-10T19:27:39Z")

</div>

I am looking at this, I think I have a working code for the second instance (rich editor) and for the first I thinnk may be we can create a middleware that transform parameters that is relate to local date.

I am commiting my changes at this branch repo: [GitHub - ghassanmas/discourse at local-date-fix-ar · GitHub](https://github.com/ghassanmas/discourse/tree/local-date-fix-ar)

---

_[View the full topic](https://meta.discourse.org/t/internal-server-error-when-previewing-digest-emails/380954)._
