From 3a4db2fd3c050abb01ad441c7e49d776ddbb0582 Mon Sep 17 00:00:00 2001 From: niconfus <72577889+niconfus@users.noreply.github.com> Date: Thu, 8 Oct 2020 16:07:58 -0400 Subject: [PATCH] Fix localization for DateTimePicker --- src/widgets/DateTimePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/DateTimePicker.tsx b/src/widgets/DateTimePicker.tsx index 530c4d4..9047f41 100644 --- a/src/widgets/DateTimePicker.tsx +++ b/src/widgets/DateTimePicker.tsx @@ -23,7 +23,7 @@ class DateTimePicker extends React.PureComponent { public render() { const Picker = (this.props.dateOnly) ? KeyboardDatePicker : KeyboardDateTimePicker; - const dateFormat = (this.props.dateOnly) ? "DD/MM/YYYY" : "DD/MM/YYYY HH:mm"; + const dateFormat = (this.props.dateOnly) ? "L" : "L LT"; return (