Forum Discussion
Nils_Kirsch
Mar 10, 2023Copper Contributor
View Formatting =toLocaleDateString is breaking for last created item
Hello, I am working on a solution to display short status messages on our SPO Homesite. I am nearly there, but there is an annoying behaviour with one date displayed on the card. To represent t...
- Mar 10, 2023
Nils_Kirsch Try using this:
"txtContent": "='\n' + if([$ImgHover], ':woman_technologist: ', '') + [$Author.title] + ' ' + toLocaleDateString([$Created])",Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Nils_Kirsch
Mar 10, 2023Copper Contributor
Thank you so much Ganesh. Looks like it's working. Have a wonderful day.
ganeshsanap
Mar 10, 2023MVP
Nils_Kirsch You're welcome, glad it worked for you. Have a good day ahead!
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs