Skip to content

Commit

Permalink
Use fromIndexDate function for parsing min/max dates
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 7, 2020
1 parent 3f7ffba commit de0894c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { parseDate } from "./utils/dateFormat";
import { fromIndexDate } from "./utils/dateFormat";

// Dates

export const MIN_DATE = parseDate("1900-01-01");
export const MAX_DATE = parseDate("2099-12-31");
export const MIN_DATE = fromIndexDate("1900-01-01");
export const MAX_DATE = fromIndexDate("2099-12-31");

0 comments on commit de0894c

Please sign in to comment.