MCPcopy
hub / github.com/date-fns/date-fns / H

Function H

pkgs/core/src/_lib/format/lightFormatters/index.ts:69–71  ·  view source on GitHub ↗
(date: Date, token: string)

Source from the content-addressed store, hash-verified

67
68 // Hour [0-23]
69 H(date: Date, token: string): string {
70 return addLeadingZeros(date.getHours(), token.length);
71 },
72
73 // Minute
74 m(date: Date, token: string): string {

Callers

nothing calls this directly

Calls 1

addLeadingZerosFunction · 0.90

Tested by

no test coverage detected