# Quotes that contain date/time?

**URL:** <https://meta.discourse.org/t/quotes-that-contain-date-time/101999>\
**Category:** Bug\
**Created:** [14 בנובמבר,‏ 2018,‏ 8:31am UTC](https://meta.discourse.org/t/quotes-that-contain-date-time/101999 "2018-11-14T08:31:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [21 ביוני,‏ 2022,‏ 12:09am UTC](https://meta.discourse.org/t/quotes-that-contain-date-time/101999/10 "2022-06-21T00:09:17Z")

</div>

I’ve just merged a fix for this today, this makes it so quoting single and ranges of local dates works correctly:

> <https://github.com/discourse/discourse/pull/17141>
>
> This commit allows quoting of discourse-local-date elements
> and converts the qu…oted tags back into bbcode so that the
> rendered quote will also render the discourse-local-date HTML.
> This works on single dates as well as date ranges, and supports
> all of the options used by discourse-local-date.
> 
> This also necessitated adding addTextDecorateCallback to the
> to-markdown core lib (similar to addBlockDecorateCallback and
> addTagDecorateCallback) to transform the text nodes between
> date ranges to remove the -\> in the final quote.
> 
> c.f. https://meta.discourse.org/t/quotes-that-contain-date-time/101999
> 
> !\[chrome-capture-2022-5-20\](https://user-images.githubusercontent.com/920448/174523389-bec48cee-4599-4dd1-9ee0-b0dcf25baa12.gif)

We should have it deployed to your sites over the next couple of days.

---

_[View the full topic](https://meta.discourse.org/t/quotes-that-contain-date-time/101999)._
