diff options
author | Juan C. Sanz <jcsanz@libreoffice.org> | 2022-09-08 00:14:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-08 10:24:01 +0200 |
commit | 5d40ced9e8b0aa1e4c07aea56ed8c1bdaa89705f (patch) | |
tree | 70b02831d5f5a47dbc06b0a1f804033dc042ad5a /extensions | |
parent | cd30c34ed8465555b217b25ff353ae623923a7e4 (diff) |
Revert "tdf#150569 Modify hardcoded dates to extend the range of accepted dates"
This reverts commit b20594f2fc8f6f9fdbf0b257b4e74d95a8d90139.
Reason for revert: Further testing has shown some errors in other ways of displaying the data
Change-Id: Ic4909f8571c8730ab3ba622c7fad99f2646616ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139566
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 1c88f98ecf8c..95b4143c76b8 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, 0001)); - m_xEntryFormatter->SetMax(::Date(31, 12, 9999)); + m_xEntryFormatter->SetMin(::Date(1, 1, 1600)); + m_xEntryFormatter->SetMax(::Date(1, 1, 9999)); m_xEntryFormatter->SetExtDateFormat(ExtDateFieldFormat::SystemShortYYYY); m_xEntryFormatter->EnableEmptyField(true); |