GNOME Bugzilla – Bug 138182
[h]:mm is displayed wrong
Last modified: 2004-12-22 21:47:04 UTC
19:00-10:40-0:45 = 7:34 should be 7:35 I'll attach a simple spreadsheet.
Created attachment 25969 [details] Spreadsheet that exposes the bug.
I can't even enter 81:04 in a [hh]:mm field, it shows as 81:03
I can not replicate this with 1.2.8 What version are you using ? A patch went in for something similar around 1.2.2
1.2.1 from Fedora Core 1, So I guess this is resolved fixed. Strangely I can close the bug but not set the resolution.
1.2.6 still has the error for me. There's no newer version to test for Fedora.
Damn. I looked at your example in the bug and not the spreadsheet. The order of operations makes a difference. We'll delay 1.2.9 until this is fixed.
This is somehow related to the format in D1. It's [h]:mm. If you just type =b1-a1-c1 in another cell you get h:mm which shows as 7:35. D1's value is such that D1*3600*24 is 27300.000...001, i.e., *more* that what it's exact value would be.
Also try just entering 81:04 in a new spreadsheet. Gives me 81:03 in 1.2.6.
Fixed in cvs.
Created attachment 27949 [details] A similar case I haven't got 1.2.9 around to test and wanted to save that file here in case. 1.2.8 displays 76:10 76:00 -0:09 here.
1.2.12 and cvs head report -0:10 as expected.