[Libreoffice-bugs] [Bug 125878] Dates imported incorrectly from dbf file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 12 13:37:53 UTC 2019


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

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Taking a look to
http://www.independent-software.com/dbase-dbf-dbt-file-format.html, I used
online hexa editor and applied high end first:
for date: 0025840C -> 2458636
Using 2458636 in https://aa.usno.navy.mil/data/docs/JulianDate.php gives:
First June of 2019

for time: 03AA7618 -> 61503000
Using algo from the first page quoted indeed gives:
17h05m03

Perhaps we should check lcl_CalcJulDate and lcl_CalDate from
connectivity/source/drivers/dbase/DTable.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190612/04d850e4/attachment-0001.html>


More information about the Libreoffice-bugs mailing list