Title:
SpreadsheetAddRow applies strange time format to time values added to a spreadsheet
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Legorol San / Legorol San (Legorol San)
Created: 04/12/2016
Components: Document Management, Office Integration
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description: When using SpreadsheetAddRow to add a value that looks like a time, the resulting cell has strange and inconsistent time formatting applied to it.
Applies to CF 11 Update 7.
Steps to Reproduce:
<cfset st = SpreadSheetNew("Here")>
<cfset SpreadSheetAddRow(st, "01:02:03")>
<cfdump var=#SpreadsheetGetCellValue(st,1,1)#><br>
<cfspreadsheet action="write" filename="out.xls" name="st" overwrite="true">
Actual Result:
cfdump shows 02:03. Cell A1 in out.xls shows 02:03 and has a time format " mm:ss".
Expected Result:
cfdump should show 01:02:03 or a variant such as 1:02:03 or 1:02:03 AM.
Cell A1 in out.xls should have a proper time format applied to it, such as "hh:mm:ss".
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4139060
External Customer Info:
External Company:
External Customer Name: Legorol San
External Customer Email:
External Test Config: My Hardware and Environment details: Windows 10 Pro
Attachments:
Comments: