Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
123456789101112export function niceDate(date: number | string | Date) { const d = new Date(date) return `${d.toLocaleTimeString(undefined, { hour: 'numeric', minute: '2-digit', })} · ${d.toLocaleDateString('en-us', { year: 'numeric', month: 'short', day: 'numeric', })}`}