I want to call the function getCountdown with two parameters:
As far as I know, you cannot add static parts to the formatter, it can only take model values. For a combination of dynamic and static parts in a property see Expression Binding and Complex Binding Syntax.
For your case, you could add two more specialized formatter functions and call the one you need:
(You can just provide an array of path-strings in the part array.)
formatter.getCountdownTime = function (auctionEnd) {
return formatter.getCountdown(auctionEnd, "Time");
}
formatter.getCountdownStatus = function (auctionEnd) {
return formatter.getCountdown(auctionEnd, "Status");
}