Skip to content

Commit

Permalink
feat: add dates (missing module)
Browse files Browse the repository at this point in the history
  • Loading branch information
iluxonchik committed Aug 16, 2024
1 parent 95d98c5 commit fae24ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dates/Input.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export class InputDate {
static toDate(date: string): Date {
return new Date(`${date} UTC`);
}
}

0 comments on commit fae24ac

Please sign in to comment.