Forum Discussion

Nils_Kirsch's avatar
Nils_Kirsch
Copper Contributor
Mar 10, 2023
Solved

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...
  • ganeshsanap's avatar
    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

Resources