GNOME Bugzilla – Bug 540198
date parse failure
Last modified: 2008-08-26 02:18:52 UTC
Please describe the problem: i format whole column as date, then i enter "control-shift-;" (shortcut for today), and it doesnt get formatted Steps to reproduce: 1. create spreadsheet 2. put "control-shift-;" in A1, B1, C1 3. format column A as: mmm/dd/yy, B as: dd-mmm-yy, C as: yyyy/mmm/dd 4. put "control-shift-;" in A2, B2, C2 Actual results: the cell B2 doesn't get the right format (it appears as "6/25/2008") Expected results: the cell B2 should appear as "25-Jun-08" Does this happen every time? yes Other information: the A and C columns have no relation with the bug, i just included them because with A and C formats the bug doesn't occur, and dates are shown as expected
there is a bug here, an a possible feature request 1) the cell formatted with d-mmm-yyyy fails to parse the gnm_format_for_date_editing. 2) should we consider displaying the editable format using the assigned format if it is a date fmt with full year/month/day detail ?
Created attachment 117312 [details] sample file, note the alignment of B1
Re 2, if the number was also a integer, I think that would be a reasonable thing to do. I don't know if it would be confusing, though.
(1) fixed. I do not think (2) really needs to be done, but if it does, that is a separate bug.