Base: Function definition failed "Date.format('ddd')" but "this.Date.format('ddd')" works fine

What I’m trying to do

Im trying to define new column in Bases which displays Week Day as result from Property “Date” which I add at the time of creation.

Things I have tried

Due to my research “Date” is in Format “date” so to compare or display I need a string. This is working for current file with “this.Date.format(‘ddd’)” the result is “Fri”. However if I try the same for “Date.format(‘ddd’)” it is failing with error “Can not find function “format” on type string”. Any Idea what I do wrong?

Found a Fix and Bug reported earlier.
While I could troubleshoot the output myself using toString I found that my “Date” has different format. I write ((date:DD-MM-YYYY)) than function which I use Date.format(‘ddd’) fails.
As soon I change Date to ((date:YYYY-MM-DD)) all works as expected