summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index 95b4143c76b8..1c88f98ecf8c 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -99,8 +99,8 @@ namespace pcr
m_xEntryFormatter.reset(new weld::DateFormatter(*m_xEntry));
m_xEntryFormatter->SetStrictFormat(true);
- m_xEntryFormatter->SetMin(::Date(1, 1, 1600));
- m_xEntryFormatter->SetMax(::Date(1, 1, 9999));
+ m_xEntryFormatter->SetMin(::Date(1, 1, 0001));
+ m_xEntryFormatter->SetMax(::Date(31, 12, 9999));
m_xEntryFormatter->SetExtDateFormat(ExtDateFieldFormat::SystemShortYYYY);
m_xEntryFormatter->EnableEmptyField(true);