diff options
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/components/ReportFilter.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/components/ReportFilter.js b/modern/src/reports/components/ReportFilter.js index 07c406d6..816fde8d 100644 --- a/modern/src/reports/components/ReportFilter.js +++ b/modern/src/reports/components/ReportFilter.js @@ -123,7 +123,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly, ignoreDevice, multiDev <TextField label={t('reportFrom')} type="datetime-local" - value={from.format(moment.HTML5_FMT.DATETIME_LOCAL)} + value={from.locale('en').format(moment.HTML5_FMT.DATETIME_LOCAL)} onChange={(e) => setFrom(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} fullWidth /> @@ -134,7 +134,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly, ignoreDevice, multiDev <TextField label={t('reportTo')} type="datetime-local" - value={to.format(moment.HTML5_FMT.DATETIME_LOCAL)} + value={to.locale('en').format(moment.HTML5_FMT.DATETIME_LOCAL)} onChange={(e) => setTo(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL))} fullWidth /> |