MCPcopy Create free account
hub / github.com/microsoft/Webwright / formatTimestamp

Function formatTimestamp

assets/compare_trajectory/app.js:54–63  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

52}
53
54function formatTimestamp(value) {
55 if (!value) {
56 return 'n/a';
57 }
58 const date = new Date(value);
59 if (Number.isNaN(date.getTime())) {
60 return String(value);
61 }
62 return date.toLocaleString();
63}
64
65function parseArguments(raw) {
66 if (!raw) {

Callers 2

normalizeCodexFunction · 0.85
normalizeRawResponsesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected