Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/DevCloudFE/ng-devui
/ formatDate
Function
formatDate
devui/utils/date-utils.ts:20–22 ·
view source on GitHub ↗
(date: Date, pattern = 'y-MM-dd HH:mm:ss')
Source
from the content-addressed store, hash-verified
18
}
19
20
export
function
formatDate(date: Date, pattern =
'y-MM-dd HH:mm:ss'
): string {
21
return
isValidDate(date) ? datefns.format(date, pattern) :
''
;
22
}
Callers
4
transform
Method · 0.90
formatDate
Method · 0.85
formatDateTime
Method · 0.85
formatDateTimeWithoutGMT
Method · 0.85
Calls
2
isValidDate
Function · 0.85
format
Method · 0.65
Tested by
no test coverage detected