Moment date result different from preview

I mapped date value on table cell as {{moment(self).format("DD-MM-YYY")}} with preview on the mapped value as attached:
Screen Shot 2022-04-24 at 07.43.02
But the final value on table is as attached:
Screen Shot 2022-04-24 at 07.42.09
What's wrong with my formatted script?
Thanks

Hey @rony,

Try changing your column type to text.

Screenshot 2022-04-26 at 21.36.10

Does that solve your problem?

yes, thank you

1 Like