- Timestamp:
- 07/23/10 17:24:30 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2/www/requirements/mura/resourceBundle/utils.cfc
r2560 r2572 32 32 33 33 <cfset loadLocale()> 34 34 35 <cfreturn this /> 35 36 </cffunction> … … 350 351 <cfloop list="#formatTest#" index="f" delimiters="#dtCh#"> 351 352 <cfif listFind("2018,18",f)> 352 <cfset dateKeyFormat=listAppend(dateKeyFormat,"YYYY",dtCh)>353 <cfset variables.dateKeyFormat=listAppend(variables.dateKeyFormat,"YYYY",dtCh)> 353 354 <cfelseif f eq 11> 354 <cfset dateKeyFormat=listAppend(dateKeyFormat,"MM",dtCh)>355 <cfset variables.dateKeyFormat=listAppend(variables.dateKeyFormat,"MM",dtCh)> 355 356 <cfelse> 356 <cfset dateKeyFormat=listAppend(dateKeyFormat,"DD",dtCh)>357 <cfset variables.dateKeyFormat=listAppend(variables.dateKeyFormat,"DD",dtCh)> 357 358 </cfif> 358 359 </cfloop> … … 366 367 </cfif> 367 368 368 <cfset datekeyExample=lsDateFormat(createDate(2018,11,10),datekeyFormat)/>369 370 <cfsavecontent variable=" jsDateKey">369 <cfset variables.datekeyExample=lsDateFormat(createDate(2018,11,10),datekeyFormat)/> 370 371 <cfsavecontent variable="variables.jsDateKey"> 371 372 <cfoutput><script type="text/javascript"> 372 var dtExample="# datekeyExample#";373 var dtExample="#variables.datekeyExample#"; 373 374 var dtCh="#dtCh#"; 374 375 var dtFormat =[#dtFormat#];
Note: See TracChangeset
for help on using the changeset viewer.
