Date issues in Libreoffice

Bug #1267265 reported by allanlw on 2014-01-08
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Weight Tracker ODS
Jon Thysell

Bug Description

The trunk version of this software did not work properly in Libreoffice, because date handling was changed at some point.

I patched the required script, which was only the 'Charts' script. The new version for that script is attached. I've never done any Libreoffice scripting before, so the style probably isn't correct, but it works.

I haven't tested this that much, but it works fine for me in my brief testing.

Revision history for this message
allanlw (allanlw) wrote :
Revision history for this message
Jon Thysell (jonthysell) wrote :

With this fix were you able to run the spreadsheet like normal in LibreOffice 4.1? I'll take a look at it as soon as I can get a machine up with an updated LibreOffice, but if this is what's been blocking everyone from using WTODS in the newest LibreOffice I'll try to get a release out with your patch.

Changed in wtods:
assignee: nobody → Jon Thysell (jonthysell)
status: New → Triaged
Revision history for this message
John Felso (felso) wrote :

FYI. There appear to be more date problems in that allanlw's updates don't address.

Revision history for this message
Phil Olynyk (4hil) wrote :

I believe the attached ChartsFinal.txt solves the problems with dates used in LO 4.x. I am using and no longer having problems. I have not beaten it to death, nor attempted all the corner cases, so some peer review is doubtless in order. I pretty much followed the original logic, casting types as required. I am indebted to allanlw for the pointers and hints he provided in his script, above.

Revision history for this message
Phil Olynyk (4hil) wrote :
Revision history for this message
Jon Thysell (jonthysell) wrote :

Thanks Phil for the updated module, I haven't tested it yet (I haven't had LibreOffice on my machine for six months, and I haven't used WTODS in a couple years at this point), but if it looks like it loads properly I'll try to get a new zip uploaded.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers