MCPcopy Create free account
hub / github.com/devxnshsharma/UnMessify / formatDateDisplay

Function formatDateDisplay

app.js:952–956  ·  view source on GitHub ↗
(dateStr)

Source from the content-addressed store, hash-verified

950}
951
952function formatDateDisplay(dateStr) {
953 const date = new Date(dateStr);
954 const options = { month: 'short', day: 'numeric' };
955 return date.toLocaleDateString('en-IN', options);
956}
957
958function formatCurrency(amount) {
959 return `₹${Math.round(amount).toLocaleString('en-IN')}`;

Callers 1

simulateSpendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected