If it’s OK to present the date based on the UTC time zone (the date changes at 00:00 UTC). Then disconnect the dateText from the dataset , add code like this:
$w.onReady(() => {
$w('#dataset1').onReady(async () => {
$w('#reapeater1').forEachItem($i, iData) => {
$i('#dateText').text = iData._publishedDate.toISOString()
.slice(0, 10).split('-').reverse().join('-');
})
})
})
[I changed the answer].