Date Display Error in Live Mobile View Only

I am displaying the current date at the top of my app homepage. Here’s what the setup looks like:

This looks great when previewing the mobile view in the editor:

It also looks great when live in desktop view:

For some reason, though, this is what I get when I open it on my phone:

Anyone have any ideas as to why this is happening?

1 Like

I think the input Date in the live app is different from what you have in the editor and is not a value that can be parsed.
The weweb date element uses dayjs (from what I see on its public repo). Dayjs formats invalid dates with the string ‘Invalid Date’ like the one you are getting.

The problem should be the bound value assigned to the input Date, double check that is a valid value:

Hope this helps

1 Like