https://bugs.documentfoundation.org/show_bug.cgi?id=91324

--- Comment #9 from Tamas Bunth <[email protected]> ---
(In reply to Ulf from comment #0)
> Instead to get today, the date is on day in the future but one month in the
> past. Please take a look at the attached screen shot or sample DB

- The bad value of month is because the structure "tm" counts month (tm_month)
from 0 to 11 ( see http://www.cplusplus.com/reference/ctime/tm/ ), but we
expect it to be from 1 to 12 I suppose.
So a +1 in ResultSet.cxx:retrieveValue will solve it.

- I couldn't figure out yet where the bonus day come from.

(In reply to Terrence Enger from comment #4)
> Embedded HSQLDB seems not to have this affliction.

How can I test it using embedded HSQLDB? I tried
"select current_timestamp from tablename", where tablename is a random table.
It gave me no output (I tried with tools->sql and "Create Query in SQL View").

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to