# Translate Date Format

**URL:** <https://community.elfsight.com/t/translate-date-format/24695>\
**Category:** Age Verification\
**Tags:** Gathering-Feedback\
**Created:** [November 6, 2023, 3:11pm UTC](https://community.elfsight.com/t/translate-date-format/24695 "2023-11-06T15:11:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomorrowBits\_GmbH](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tomorrowbits_gmbh/32/9800_2.png) [@TomorrowBits\_GmbH](https://community.elfsight.com/u/TomorrowBits_GmbH)\
**Post date:** [November 6, 2023, 2:39pm UTC](https://community.elfsight.com/t/translate-date-format/24695/1 "2023-11-06T14:39:40Z")

</div>

In fact, there’s really one other thing about this widget:

 ![Date format.png](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/7/7d624dfc337ebe8ee9d0ba6f1f77dbc3cb338066.png)

Is there a way to change the prefilled indicators for days (DD), months (MM) and the Year (YYYY) to another language?  
For example in the German market we use TT / MM / JJJJ

Best regards,  
Leon

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [November 6, 2023, 3:03pm UTC](https://community.elfsight.com/t/translate-date-format/24695/2 "2023-11-06T15:03:36Z")

</div>

Got you!

I’ll discuss it with our devs and let you know if anything can be done 🙂

---

<div class="post-metadata">

**Author:** ![TomorrowBits\_GmbH](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tomorrowbits_gmbh/32/9800_2.png) [@TomorrowBits\_GmbH](https://community.elfsight.com/u/TomorrowBits_GmbH)\
**Post date:** [November 6, 2023, 3:11pm UTC](https://community.elfsight.com/t/translate-date-format/24695/3 "2023-11-06T15:11:11Z")

</div>

Great, thank you, I am looking forward to it! 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [November 6, 2023, 3:23pm UTC](https://community.elfsight.com/t/translate-date-format/24695/4 "2023-11-06T15:23:47Z")

</div>

Unfortunately, there is no option to customize the widget this way for now.

However, this is a good idea and we’ll try to consider it in our future updates. I’ve moved your request to our Wishlist where we’ll post all the updates 🙂

---

<div class="post-metadata">

**Author:** ![TomorrowBits\_GmbH](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tomorrowbits_gmbh/32/9800_2.png) [@TomorrowBits\_GmbH](https://community.elfsight.com/u/TomorrowBits_GmbH)\
**Post date:** [November 6, 2023, 3:31pm UTC](https://community.elfsight.com/t/translate-date-format/24695/5 "2023-11-06T15:31:35Z")

</div>

Oh ok, I see, that’s a pitty, but maybe I will be lucky enough to see it in a future update 🙂 Thanks so far!! 👍

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [November 6, 2023, 3:35pm UTC](https://community.elfsight.com/t/translate-date-format/24695/6 "2023-11-06T15:35:13Z")

</div>

Thank you so much for sharing your thoughts with us, this is huge!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 26, 2026, 12:02pm UTC](https://community.elfsight.com/t/translate-date-format/24695/7 "2026-02-26T12:02:20Z")

</div>

Hey everyone!

I am happy to say that our devs found a custom solution for this case.

To change the text of the Date Format, please add the script below to the **Custom JS** section on the **Appearance** tab of your widget’s settings:

```auto
const PLACEHOLDERS = ["TT", "MM", "JJJJ"];

const waitForElement = (selector, root = document) => new Promise(res => {
    let i = 0;

    const check = () => {
        const component = root.querySelector(selector);

        if (component) {
            res(component);
        } else if (i !== 150) {
            setTimeout(check, 100);
            i++;
        }
    };

    check();
});

waitForElement(".eapp-age-verification-item-allow-date-container").then(({ childNodes: inputs }) => {
  inputs.forEach((input, index) => {
    input.placeholder = PLACEHOLDERS[index];
  });
});

```

  

The date format is controlled in the 1st line of the script:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/1/c1b95b3a35d2a4ba9874099b0c29cde87cfeb126.png)

> **Note:** Custom JS doesn’t function in the preview mode, so you can check the result right on your website
