MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / normalizeMinuteTimestamp

Function normalizeMinuteTimestamp

content/gmail-mail.js:73–78  ·  view source on GitHub ↗
(timestamp)

Source from the content-addressed store, hash-verified

71}
72
73function normalizeMinuteTimestamp(timestamp) {
74 if (!Number.isFinite(timestamp) || timestamp <= 0) return 0;
75 const date = new Date(timestamp);
76 date.setSeconds(0, 0);
77 return date.getTime();
78}
79
80function getTargetEmailMatchState(text, targetEmail) {
81 const normalizedTarget = String(targetEmail || '').trim().toLowerCase();

Callers 1

handlePollEmailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected