Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Awdhesh Kumar)
Created: 12/03/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 292239 / CF11 Update5
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Mac 10 All,Win XP All
Vote Count: 0
Problem:
Start time and endTime in cfloop prints 12.00 AM three times rather than printing the right time.
Method:
<CFSET StartTime = CREATEDATETIME( 2011, 8, 1, 5, 0, 0 )>
<CFSET EndTime = CREATEDATETIME( 2011, 8, 1, 6, 30, 0 )>
<CFLOOP INDEX="dtTime" FROM="#StartTime#" TO="#EndTime#" STEP="#CREATETIMESPAN(0,0,30,0)#">
<CFOUTPUT>#TimeFormat(CREATEODBCDATETIME(dtTime))#<br/>
</CFOUTPUT>
</CFLOOP>
Result:
12.00 AM
12.00 AM
12.00 AM
Expected:
5.00 AM
5.30 AM
6.00 AM
Workaround: No
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3861371
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: