Browse Source

Adds number to allowed types to formatDate

main
Eric Amodio 2 years ago
parent
commit
1cc0f7513a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/date.ts

+ 1
- 1
src/system/date.ts View File

@ -125,7 +125,7 @@ export function fromNow(date: Date, short?: boolean): string {
}
export function formatDate(
date: Date,
date: Date | number,
format: 'full' | 'long' | 'medium' | 'short' | string | null | undefined,
locale?: string,
cache: boolean = true,

Loading…
Cancel
Save