tracker issue : CF-3912622

select a category, or use search below
(searches all categories and all time range)
Title:

LSTimeFormat not available as Member Function

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Stephen Walker / Stephen Walker (Stephen Walker)

Created: 12/18/2014

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Platforms All

Vote Count: 2

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on August 25, 2019 using build 2016.0.01.298513
The LSTimeFormat function throws an error when used as a member function

<cfoutput>
#now()#	<br>
#now().dateFormat('long')#<br>
#now().timeFormat('long')#<br>
#now().lsDateFormat('long')#<br>
#now().lsTimeFormat('long')#<br>
</cfoutput>

Results in 

{ts '2014-12-18 16:29:55'}
December 18, 2014
4:29:55 PM EST
December 18, 2014
LSTimeFormat method was not found

Workaround is to use the "old" way #lsTimeFormat(Now(),'long')#

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3912622

External Customer Info:
External Company:  
External Customer Name: Stephen.Walker
External Customer Email:  
External Test Config: Windows 8.1

Mac OSX

Windows 2008R2

Attachments:

Comments:

+1 needs fixing. Jobs need to be done thoroughly and completely, otherwise it leads to FUD for your clients.
Vote by External U.
9233 | December 19, 2014 03:45:18 AM GMT
+1 ......................
Vote by External U.
9234 | January 06, 2015 05:51:40 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31190 | August 25, 2019 02:02:31 AM GMT