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

Function m

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

Source from the content-addressed store, hash-verified

72
73 // Minute
74 m(date: Date, token: string): string {
75 return addLeadingZeros(date.getMinutes(), token.length);
76 },
77
78 // Second
79 s(date: Date, token: string): string {

Callers

nothing calls this directly

Calls 1

addLeadingZerosFunction · 0.90

Tested by

no test coverage detected