In the list, on the SharePoint website, the creation date information disappeared and only one remained. (printscreen)
I don't know why this happened, but it could be easily fixed by changing the column formatting. The problem is that there is only a pre-created display of the creation date, not how long ago.
How do I modify the JSON (see below) to calculate when it was created, please?
Thank you
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"style": {
"box-sizing": "border-box",
"padding": "0 2px",
"overflow": "hidden",
"text-overflow": "ellipsis"
},
"attributes": {
"class": "sp-field-fontSizeSmall"
},
"children": [
{
"elmType": "span",
"style": {
"overflow": "hidden",
"text-overflow": "ellipsis",
"padding": "0 3px"
},
"txtContent": "[$Created.displayValue]",
"attributes": {
"class": "sp-field-fontSizeSmall"
}
}
]
}

