Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jackwener/OpenCLI
/ get
Function
get
clis/weibo/user-posts.js:48–48 ·
view source on GitHub ↗
(type)
Source
from the content-addressed store, hash-verified
46
day:
'2-digit'
,
47
}).formatToParts(date);
48
const
get = (
type
) => parts.find((part) => part.
type
===
type
)?.value;
49
return
`${get(
'year'
)}-${get(
'month'
)}-${get(
'day'
)}`;
50
}
51
Callers
1
formatShanghaiDate
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected