GNOME Bugzilla – Bug 628082
unexpected default format
Last modified: 2010-08-31 20:10:44 UTC
new gnumeric enter 48:0:0 into A1 the cell displays 48:00:00 One should have expected to see 48:00:00. THis is obviously happening because the cell format is set to hh:mm:ss rather than [hh]:mm:ss. I always thought that this was happening to behave like XL. I just noticed that if you enter 48:0:0 into XL 2007 you get 48:00:00 and the format is [hh]:mm:ss. Note that this is different from first entering 3:0:0 and then 48:0:0 into the same cell, since the 3:0:0 causes the cell to be set to format hh:mm:ss.
> new gnumeric > enter 48:0:0 into A1 > the cell displays 48:00:00 You mean "displays 0:00:00".
I'll take this. I see other problems in there.
Created attachment 168877 [details] [review] Tentative patch Please try this. This is not a part of the code I really like messing with too much. In other words, having some kind of test suite for number matching would be nice.
Comment on attachment 168877 [details] [review] Tentative patch This looks and behaves fine for me.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.