Apache OpenOffice (AOO) Bugzilla – Issue 24313
DB: Insert as Text: dates are shifted by -2 days
Last modified: 2006-05-31 14:29:06 UTC
This is a 1.1.x version of issue 23878 resp. issue 22688. Cite from issue 23878: <cite> Given: Spreadsheet (SXW) as Datasource, a columns is defined as "date" eg. dd/mm/yyyy When the data is inserted "text" of "field" in a textdocument the date will be subtracted by 2 days. this means: say "date"=5 dec 1977 then inserting will result in 3 dec 1977 This will not happen when inserting as a table! </cite> The bug is already fixed for the SRC680 branch, and in agreement with os and msc, we also want to fix it for the 1.1.x branch (it probably won't make it into 1.1.1 anymore). (side note: another effect of the same bug: setting up combo or list boxes to display the content of a data field also shifts by 2 days, the same when binding an ordinary text control to a date field.)
Required changes: connectivity/source/commontools/DateConversion.cxx rev. 1.9.32.1 sw/source/ui/dbui/dbinsdlg.cxx rev. 1.39.42.1
change subcomponent to 'none'
Fixed in cws ospp3
cws ospp3 is available on so-cwsserv04 (wntmsci8.pro and unxlngi5.pro)
set to fixed
verify in cws ospp3
Hi, fixed in OOo 1.1.2 which will be available soon -> close. Feel free to reopen if this issue is not fixed in the final 1.1.2 build. Bye Marc
Created attachment 29288 [details] Defect in 1.9 Still there
Tried this in OOo 1.9.125 but defect still there. See attached file of screen shot. It is when spreadsheets are registered as datasource and only when copied as "field" and defect doesn't show when copied as "text" of "table".
Defect doesn't show in OOo 1.1.4
I open a new issue 54550 for the bug in the 1.9.xx version.