Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simstudioai/sim
/ pad2
Function
pad2
packages/emcn/src/components/calendar/calendar.tsx:39–41 ·
view source on GitHub ↗
(value: number)
Source
from the content-addressed store, hash-verified
37
}
38
39
function pad2(value: number): string {
40
return value.toString().padStart(2,
'0'
)
41
}
42
43
/**
44
* Serializes a calendar cell to the `YYYY-MM-DD` wire format used across the
Callers
1
toDateString
Function · 0.70
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected