Format a date
Format tokens: YYYY, YY, MM, DD, HH, mm, ss
Note: exported as formatDate (not format) so it doesn't collide with
the numeric format(value, decimals) helper in './index'. Local exports
in index.ts take precedence over this module's export * from './date'
re-export for identically-named bindings, so a top-level utils.format
pointing at a date formatter would silently break numeric-formatting
callers (and vice versa).
Format a date Format tokens: YYYY, YY, MM, DD, HH, mm, ss
Note: exported as
formatDate(notformat) so it doesn't collide with the numericformat(value, decimals)helper in './index'. Local exports in index.ts take precedence over this module'sexport * from './date're-export for identically-named bindings, so a top-levelutils.formatpointing at a date formatter would silently break numeric-formatting callers (and vice versa).