Hi

I'm using the great cfspreadsheet plugin from Alan Williamson, but I
just found what I think it is a bug.

The problem is the following:

The key "dataformat" on the format structure simply doesn't work. It
is do nothing.

But, reading the source code I found the following sentence on the
#295 line of the SpreadSheetFormatOptions.java file:

if ( _struct.containsKey("dateformat") ){
 
style.setDataFormat( workbook.createDataFormat().getFormat( 
_struct.getData("dateformat").getString() ) );
}

So, it seems that there is a misspelling between "dataformat" and
"dateformat".

As a workaround, I just change "format.dataformat = 'dd/mm/yy' " to
"format.dateformat = 'dd/mm/yy' " on my code.

BTW, I can put this bug in the tracker but I'm not entirely sure that,
since it is a plugin, I have to use the general OpenBD Issue tracking
system.

Dante

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to