summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-04-28 17:03:52 +0200
committerEike Rathke <erack@redhat.com>2017-04-28 17:22:06 +0200
commit9054648bab5d4d89e7e3654847102d62ab9e77a1 (patch)
tree8bcce99baae0b9095e647ed8c284cd170c8e7517 /tools
parentb03b29ccbb84bf4ee5211c8f1e2d9bb66e9ebc03 (diff)
Month 100 was always wrong
Though only in case localtime() couldn't be obtained, which is about ~never. Fallout from commit a3de32acc06cfcf9bb343a29c4b9854c92645f70 Date: Wed Oct 28 11:23:36 2015 +0100 Rename (private) Date::init and reuse it Change-Id: Idbbac69f3d90e7556cd83bbf442ef8ccaecec86e
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/tdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 05a1e5a1d370..46e5ad62469e 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -228,7 +228,7 @@ Date::Date( DateInitSystem )
static_cast<sal_uInt16>(aTime.tm_year+1900) );
}
else
- setDateFromDMY( 1, 100, 1900 );
+ setDateFromDMY( 1, 1, 1900 );
#endif
}