We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1f7dde commit 0010f16Copy full SHA for 0010f16
1 file changed
fedify/sig/http.ts
@@ -406,8 +406,8 @@ async function signRequestRfc9421(
406
}
407
408
// Use provided timestamp or current time
409
- const created = (currentTime ?? Temporal.Now.instant()).epochMilliseconds /
410
- 1000;
+ const created = ((currentTime ?? Temporal.Now.instant()).epochMilliseconds /
+ 1000) | 0; // Convert to seconds and truncate to integer
411
412
// Define components to include in the signature
413
const components = [
0 commit comments