MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / roundTimeToMinutes

Function roundTimeToMinutes

apps/client/src/code/pages/page/notes/date.ts:3–8  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

1import { roundToMultiple } from 'src/code/utils/math';
2
3export function roundTimeToMinutes(value: number): number {
4 return roundToMultiple(value, {
5 base: 60 * 1000,
6 roundFunc: Math.floor,
7 });
8}

Callers 5

_deserializeNoteMethod · 0.90
_deserializeArrowMethod · 0.90
NoteDraggingClass · 0.90
performMethod · 0.90
finishMethod · 0.90

Calls 1

roundToMultipleFunction · 0.90

Tested by

no test coverage detected