Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cujojs/poly
/ fix2
Function
fix2
date.js:57–60 ·
view source on GitHub ↗
(number)
Source
from the content-addressed store, hash-verified
55
}
56
57
function
fix2 (number) {
58
// ensures number is formatted to at least two digits
59
return
(number < 10 ?
'0'
:
''
) + number;
60
}
61
62
function
isoParse (str) {
63
// parses simplified iso8601 dates, such as
Callers
1
date.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected