Created new dropdown component to select relative or absolute date ranges

This commit is contained in:
Alejandro Celaya
2020-12-14 22:58:15 +01:00
parent 288f6e2cf8
commit 4e236a80de
13 changed files with 288 additions and 34 deletions

View File

@@ -12,3 +12,5 @@ const formatDateFromFormat = (date?: NullableDate, format?: string): OptionalStr
export const formatDate = (format = 'YYYY-MM-DD') => (date?: NullableDate) => formatDateFromFormat(date, format);
export const formatIsoDate = (date?: NullableDate) => formatDateFromFormat(date, undefined);
export const formatInternational = formatDate();