Thanks Jim, I'll have a look later on and see if there's anything I can 
use. It's interesting you mention the extra date parts and am/pm 
formatting (upper or lower), I've included that very ability in my 
DateFormat() function. Well, really it's my buddy Steven's code. I just 
jQuerified it, and fixed a few JS problems that was keeping the packed 
version from working. :o)

Thanks again Jim!

Chris

Jim Davis wrote:
>> Hi folks,
>>
>> I know this isn't a jQuery list, but I thought there might be some 
>> interest over on this list, and I know there are some jQuery fans who 
>> frequent CF-Talk.
>>
>> I've been working the CFJS plugin again tonight, and I've added eight 
>> new functions and fixed some sloppy JS code that was keeping the packed 
>> version of the code from working.
>>     
>
> Cool stuff.
>
> Just a plug/heads up but I've replicated several CF functions in my own Data 
> extensions for JavaScript here (long URL):
>
> http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_DateExtensions/Index.cfm
>
> The whole mess is under the BSD license - perhaps you'll find something worth 
> using.
> These all extend the date object in JS (either as a static or instance 
> method):
>
> Date.is()
> Date.parseIso8601() 
> *Date*.add()
> *Date*.compare()
> *Date*.dateFormat()
> *Date*.dayOfYear()
> *Date*.diff()
> *Date*.iso8601Format()
> *Date*.timeFormat()
>
> There's full usage docs on the site.
>
> I know that the GPL and BSD licenses aren't completely compatible - but I 
> think they're compatible "your way" (in other words you could use BSD code in 
> your GPL project but I couldn't use GPL code in my BSD project - at least 
> that's the way I read it).
>
> There are some additions to CFML dogma (for example extra dateparts, the 
> ability to format case in the am/pm indicators and the ability to do 
> destructive modifications).  Also the ISO8601 stuff (very useful for XML 
> processing).  But I think between us we've got most of it covered.  ;^)
>
> I can't promise bug-free code, but things have seemed to work well enough so 
> far.  I'm hoping to add more convience methods (weekofyear, isleapyear, etc) 
> during an upcoming lull.
>
> Jim Davis
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276942
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to