<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting Started With Datejs</title>
	<atom:link href="http://www.datejs.com/2007/11/27/getting-started-with-datejs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/</link>
	<description>An open-source JavaScript Date Library</description>
	<lastBuildDate>Fri, 30 Sep 2011 00:59:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Le-roy</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-633</link>
		<dc:creator>Le-roy</dc:creator>
		<pubDate>Fri, 30 Sep 2011 00:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-633</guid>
		<description>Hi,
Great script. Only I think I found a potentially potent bug!
I am using the mi-NZ version and using Date.parse(&quot;dd/mm/yyyy hh:mm tt&quot;) format i.e. 30/09/2011 11:07 pm however 12:07 am gives me a date with getHours() = 12 and 12:07pm gives me a date with getHours() = 12. Everything else is working fine ie. 1am returns 1, 2am returns 2, 2pm returns 14 etc. 12am should return 0?

How would I go about correcting this?

Cheers,
Le-roy</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Great script. Only I think I found a potentially potent bug!<br />
I am using the mi-NZ version and using Date.parse(&#8220;dd/mm/yyyy hh:mm tt&#8221;) format i.e. 30/09/2011 11:07 pm however 12:07 am gives me a date with getHours() = 12 and 12:07pm gives me a date with getHours() = 12. Everything else is working fine ie. 1am returns 1, 2am returns 2, 2pm returns 14 etc. 12am should return 0?</p>
<p>How would I go about correcting this?</p>
<p>Cheers,<br />
Le-roy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScript Date Ranges/Calculations with Datejs</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-630</link>
		<dc:creator>JavaScript Date Ranges/Calculations with Datejs</dc:creator>
		<pubDate>Sat, 30 Jul 2011 09:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-630</guid>
		<description>[...] 2 imports the Datejs library. You will have to download it and install via these instructions. Lines 5-23 calculates each of the date elements that I will need to piece together the final [...]</description>
		<content:encoded><![CDATA[<p>[...] 2 imports the Datejs library. You will have to download it and install via these instructions. Lines 5-23 calculates each of the date elements that I will need to piece together the final [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aakaash</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-626</link>
		<dc:creator>Aakaash</dc:creator>
		<pubDate>Fri, 13 May 2011 08:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-626</guid>
		<description>How to print timezone?

hh:mm:ss ??</description>
		<content:encoded><![CDATA[<p>How to print timezone?</p>
<p>hh:mm:ss ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Date and time handling in JavaScript using DateJs &#124; Alexander Nyquist</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-621</link>
		<dc:creator>Date and time handling in JavaScript using DateJs &#124; Alexander Nyquist</dc:creator>
		<pubDate>Sat, 19 Mar 2011 14:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-621</guid>
		<description>[...] This is absolutely a library I recommend using if you need to work with date and time in JavaScript. Be sure to check out their getting started guide. [...]</description>
		<content:encoded><![CDATA[<p>[...] This is absolutely a library I recommend using if you need to work with date and time in JavaScript. Be sure to check out their getting started guide. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scilly_guy</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-616</link>
		<dc:creator>Scilly_guy</dc:creator>
		<pubDate>Mon, 27 Dec 2010 15:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-616</guid>
		<description>I changed the the getDayName function to accept 1,2 or 3 as the abbreviating parameter as I couldn&#039;t find anyway to getDayInitial.

Date.prototype.getDayName=function(abbrev){
return abbrev==3?
Date.CultureInfo.abbreviatedDayNames[this.getDay()]:
abbrev==2?
Date.CultureInfo.shortestDayNames[this.getDay()]:
abbrev==1?
Date.CultureInfo.firstLetterDayNames[this.getDay()]:
Date.CultureInfo.dayNames[this.getDay()];};</description>
		<content:encoded><![CDATA[<p>I changed the the getDayName function to accept 1,2 or 3 as the abbreviating parameter as I couldn&#8217;t find anyway to getDayInitial.</p>
<p>Date.prototype.getDayName=function(abbrev){<br />
return abbrev==3?<br />
Date.CultureInfo.abbreviatedDayNames[this.getDay()]:<br />
abbrev==2?<br />
Date.CultureInfo.shortestDayNames[this.getDay()]:<br />
abbrev==1?<br />
Date.CultureInfo.firstLetterDayNames[this.getDay()]:<br />
Date.CultureInfo.dayNames[this.getDay()];};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrick</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-614</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Thu, 18 Nov 2010 16:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-614</guid>
		<description>nevermind... you really need to update the links to the current code version :-)</description>
		<content:encoded><![CDATA[<p>nevermind&#8230; you really need to update the links to the current code version <img src='http://www.datejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrick</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-613</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Thu, 18 Nov 2010 15:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-613</guid>
		<description>Will someone please tell me why we can&#039;t get Date.parse to correctly parse 12:00 AM or 12:00 PM????

It is not recognizing 12:00 PM as a valid value. And 12:00 AM is parsed as 12:00 PM.

We&#039;ve stripped out everything but jquery 1.4.3 and datejs. 

It&#039;s pretty damn basic, so I&#039;m not sure what else we should try.

Thanks!</description>
		<content:encoded><![CDATA[<p>Will someone please tell me why we can&#8217;t get Date.parse to correctly parse 12:00 AM or 12:00 PM????</p>
<p>It is not recognizing 12:00 PM as a valid value. And 12:00 AM is parsed as 12:00 PM.</p>
<p>We&#8217;ve stripped out everything but jquery 1.4.3 and datejs. </p>
<p>It&#8217;s pretty damn basic, so I&#8217;m not sure what else we should try.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Smith</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-521</link>
		<dc:creator>Danny Smith</dc:creator>
		<pubDate>Tue, 20 Jul 2010 22:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-521</guid>
		<description>Damm. If only I&#039;d come across this two weeks ago. I s&#039;pose I can play with dates in JS the same way I do in Rails now :)

Thanks</description>
		<content:encoded><![CDATA[<p>Damm. If only I&#8217;d come across this two weeks ago. I s&#8217;pose I can play with dates in JS the same way I do in Rails now <img src='http://www.datejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-518</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Tue, 06 Jul 2010 23:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-518</guid>
		<description>Quick and clean jQuery DatePicker integration:

Modify DatePicker&#039;s parseDate function. After initial validation:

if (value == &#039;&#039;) return null;

Comment out the rest of the function. Replace with:

var dateJsParseAttemptDate = Date.parse(value);
if(dateJsParseAttemptDate) return dateJsParseAttemptDate;
throw &#039;Invalid date&#039;;</description>
		<content:encoded><![CDATA[<p>Quick and clean jQuery DatePicker integration:</p>
<p>Modify DatePicker&#8217;s parseDate function. After initial validation:</p>
<p>if (value == &#8221;) return null;</p>
<p>Comment out the rest of the function. Replace with:</p>
<p>var dateJsParseAttemptDate = Date.parse(value);<br />
if(dateJsParseAttemptDate) return dateJsParseAttemptDate;<br />
throw &#8216;Invalid date&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heath</title>
		<link>http://www.datejs.com/2007/11/27/getting-started-with-datejs/comment-page-2/#comment-517</link>
		<dc:creator>Heath</dc:creator>
		<pubDate>Wed, 23 Jun 2010 16:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.datejs.com/2007/11/27/getting-started-with-datejs/#comment-517</guid>
		<description>Disregard that, I&#039;m silly.</description>
		<content:encoded><![CDATA[<p>Disregard that, I&#8217;m silly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

