function startOfHour
startOfHour(date: Date): Date

Round a date down to the start of the current hour for cache-stable signatures

Parameters

date: Date

Return Type

Date

Usage

import { startOfHour } from "docs/events.ts";