Join the Webstudio community

Updated last month

“Time” component shows “dateTime attribute is not set”

At a glance
A community member recently redesigned their blog using the self-hosted Webstudio Builder. After updating Webstudio Builder, they started having issues with the "Time" component, where the date displayed correctly on the Builder but not on the published web page, showing "dateTime attribute is not set". The community member believes this issue started after a specific fix was applied. They checked the forums and found a similar issue. The community member updated Webstudio Builder and CLI to the latest version, but the issue persisted. After deleting and re-exporting the project, the date was displayed correctly. The community member thanked the Webstudio team for fixing the problem.
Useful resources
Hello.
I recently redesigned my blog using the self-hosted Webstudio Builder.
I had no problems when I redesigned my blog, but when I updated Webstudio Builder a few days ago, I started having problems with the “Time” component.
The date displays fine on the Builder, but on the published web page it does not display correctly and shows “dateTime attribute is not set”.

I think this problem probably started occurring after the following fix was applied (before this fix was applied, the “dateTime attribute is not set” was displayed on the Builder, but the correct date was displayed on the published web page).
https://github.com/webstudio-is/webstudio/commit/0795823431147af8beebc73988221121729e88c2

I opened the developer tools in my browser and it seems that the correct date itself is retrieved, but the text shown is “dateTime attribute is not set”.

I checked the forums and it seems to be the same problem as the following: https://discord.com/channels/955905230107738152/1371722698257993769

I am using a self-hosted builder and am unable to share the project link, how do I do this?

Thank you.
Marked as solution
@たいくん We released new CLI version. Please check if it fixes your issue.
View full solution
B
5 comments
Did you pull latest changes?
Thanks for the reply!
Yes, I pulled the latest changes (currently commit 646c5b3) and rebuilt Dev Container.
@たいくん We released new CLI version. Please check if it fixes your issue.
I updated Webstudio Builder and CLI to the latest version, published just to be sure, then exported the project and ran npm run dev.
The date still does not seem to be displayed correctly (I don't think it is a problem that the images are not displayed, as they were not displayed in the previous local test too).
I tried clearing the browser cache, but that didn't make any difference...
Attachment
2025-05-20_14.33.26.png
Sorry, I looked at the export destination folder and saw that something like Dockerfile 2 had been generated, so I deleted it all and re-exported it again, and now the date is displayed without any problem!
Thank you very much for fixing this problem!
Attachment
2025-05-20_14.55.00.png
Add a reply
Sign up and join the conversation on Discord