# Embed: dates are not localized

**URL:** <https://meta.discourse.org/t/embed-dates-are-not-localized/27997>\
**Category:** Feature\
**Tags:** embedding, pr-welcome, completed\
**Created:** [27.Апрель.2015 14:42:06 UTC](https://meta.discourse.org/t/embed-dates-are-not-localized/27997 "2015-04-27T14:42:06Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)\
**Post date:** [15.Апрель.2016 18:57:02 UTC](https://meta.discourse.org/t/embed-dates-are-not-localized/27997/7 "2016-04-15T18:57:02Z")

</div>

Darkness leads me to this bug under the pale moonlight 🌑

But as a general tip, it would be definitely better if there is a link or screenshots. I can hardly understand what you are talking about if I haven’t translated the documentation ☹

Embed comments:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/0/008188b818eae91aa6aae2e936acbbed182a975d.png)

The problem is in `embed/comments.html.erb`:

> <https://github.com/discourse/discourse/blob/main/app/views/embed/comments.html.erb#L13>

then `ember_helper.rb`:

> <https://github.com/discourse/discourse/blob/main/app/helpers/embed_helper.rb#L3>

The fix can be either using the `FreedomPatches::Rails4.distance_of_time_in_words`, ` I18n.localize(dt, format: I18n.t("datetime_formats.formats.short_no_year"))` or replace the link by a different translation string as the digest email.

; I don’t quite understand the current status of server time formats so I won’t fire PR here.

---

_[View the full topic](https://meta.discourse.org/t/embed-dates-are-not-localized/27997)._
