From f4e3153d4b70b524eb41d16c898b30f9b9709c54 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 (