# Relative date value enhancement #2607

**URL:** <https://forum.mautic.org/t/relative-date-value-enhancement-2607/10280>\
**Category:** Ideas and Feature Requests\
**Created:** [February 26, 2018, 2:48am UTC](https://forum.mautic.org/t/relative-date-value-enhancement-2607/10280 "2018-02-26T02:48:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![npracht](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/npracht/32/240_2.png) [@npracht](https://forum.mautic.org/u/npracht)\
**Post date:** [February 26, 2018, 2:48am UTC](https://forum.mautic.org/t/relative-date-value-enhancement-2607/10280/1 "2018-02-26T02:48:00Z")

</div>

_Initially reported on [https://github.com/mautic/mautic/issues/2607](https://github.com/mautic/mautic/issues/2607)_

**Description:**  
In the PR #1587 and file

mautic/app/bundles/LeadBundle/Entity/LeadListRepository.php  
Line 1218 in c44c1ab

it seems you can add relatives values.  
Those relative values are given by transifex keys which means that the value is different depending on the language.  
‘mautic.lead.list.month\_next’,  
‘mautic.lead.list.month\_this’,  
‘mautic.lead.list.today’,  
‘mautic.lead.list.tomorrow’,  
‘mautic.lead.list.yesterday’,  
‘mautic.lead.list.week\_last’,  
‘mautic.lead.list.week\_next’,  
‘mautic.lead.list.week\_this’,  
‘mautic.lead.list.year\_last’,  
‘mautic.lead.list.year\_next’,  
‘mautic.lead.list.year\_this’  
Moreover, those values have to be written manually in the date field where we “expect” to write in the date format.

**Suggestions**  
Add the translated relatives values in the dropdown operator. Then no risk that the user has to manage himself the text and by consequence insert error + generate error if mautic is used in different languages.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:34pm UTC](https://forum.mautic.org/t/relative-date-value-enhancement-2607/10280/2 "2019-10-17T16:34:08Z")

</div>


