util.ts

view source

Declarations
#

format_date
#

util.ts view source

(date: string | number | Date): string import {format_date} from '@fuzdev/fuz_blog/util.js';

Formats a date as its UTC calendar date, like Jul 10, 2024, independent of the runtime's timezone.

date

type string | number | Date

returns

string

Imported by
#