<?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: Mad Cool Date Library</title>
	<atom:link href="http://ajaxian.com/archives/mad-cool-date-library/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/mad-cool-date-library</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Breton</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-282696</link>
		<dc:creator>Breton</dc:creator>
		<pubDate>Fri, 09 Apr 2010 04:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-282696</guid>
		<description>I think that hte mm/dd/yyyy problem isn&#039;t as bad as you guys make it out to be. It might be a problem for those other parsing libraries, but you are overlooking the fact that you can reparse on EVERY KEYSTROKE and give instant feedback. When you type in a date, you know instantly what the library thinks you meant, and you can easily make corrections based on that feedback.

It might be a legitimate criticism if you had to *submit* with faith that the library undestood what you meant, wait 4 seconds for the next page to load, and find that you&#039;ve accidentally booked for the wrong month. But this just won&#039;t happen with instant feedback systems like this.</description>
		<content:encoded><![CDATA[<p>I think that hte mm/dd/yyyy problem isn&#8217;t as bad as you guys make it out to be. It might be a problem for those other parsing libraries, but you are overlooking the fact that you can reparse on EVERY KEYSTROKE and give instant feedback. When you type in a date, you know instantly what the library thinks you meant, and you can easily make corrections based on that feedback.</p>
<p>It might be a legitimate criticism if you had to *submit* with faith that the library undestood what you meant, wait 4 seconds for the next page to load, and find that you&#8217;ve accidentally booked for the wrong month. But this just won&#8217;t happen with instant feedback systems like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koreanplywood</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-260280</link>
		<dc:creator>koreanplywood</dc:creator>
		<pubDate>Tue, 25 Dec 2007 13:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-260280</guid>
		<description>Nice library, but a shame that it splooges methods and properties all over the Date</description>
		<content:encoded><![CDATA[<p>Nice library, but a shame that it splooges methods and properties all over the Date</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelSchoeler</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-260175</link>
		<dc:creator>MichaelSchoeler</dc:creator>
		<pubDate>Wed, 19 Dec 2007 19:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-260175</guid>
		<description>Baaah.... It can&#039;t even tell &quot;My birthday&quot; ;-)

It looks very nice, I&#039;ll have it in mind the next time the need arise.</description>
		<content:encoded><![CDATA[<p>Baaah&#8230;. It can&#8217;t even tell &#8220;My birthday&#8221; ;-)</p>
<p>It looks very nice, I&#8217;ll have it in mind the next time the need arise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoffrey McGill</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-259627</link>
		<dc:creator>Geoffrey McGill</dc:creator>
		<pubDate>Tue, 04 Dec 2007 00:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259627</guid>
		<description>@okohll - We&#039;re very interested in porting the library (especially the Parser) to other Languages. Work should start on ports to Ruby and C# very shortly. Porting to Java should be trivial after the C# version is complete (or vice-versa). Feel free to bring up the topic in the &lt;a href=&quot;http://www.datejs.com/forums/&quot; rel=&quot;nofollow&quot;&gt;Datejs Forum&lt;/a&gt; if you&#039;re interested in working on a Port.</description>
		<content:encoded><![CDATA[<p>@okohll &#8211; We&#8217;re very interested in porting the library (especially the Parser) to other Languages. Work should start on ports to Ruby and C# very shortly. Porting to Java should be trivial after the C# version is complete (or vice-versa). Feel free to bring up the topic in the <a href="http://www.datejs.com/forums/" rel="nofollow">Datejs Forum</a> if you&#8217;re interested in working on a Port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoffrey McGill</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-259626</link>
		<dc:creator>Geoffrey McGill</dc:creator>
		<pubDate>Tue, 04 Dec 2007 00:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259626</guid>
		<description>@Eivind Eklund - The Datejs library does not include user interface components. It&#039;s just code API. Any kind of popup message would have to be created by the developer. The library deals with ambiguous dates very elegantly, but the key is that the developer should detect the user-agent culture and serve up the appropriate culture-specific Datejs file. The library is completely oblivious of the user-agent. Just serve up the appropriate culture-specific file and there should be very few problems.
.
Another option would be to restrict user entry to only two possible formats (&quot;dd/MM/yy&quot; and &quot;MM/dd/yy&quot;), use .parseExact() instead of .parse() and then prompt the user each time to confirm which format/date they thought they were entering when either the month or day is 12 or lower. But that all seems rather goofy.</description>
		<content:encoded><![CDATA[<p>@Eivind Eklund &#8211; The Datejs library does not include user interface components. It&#8217;s just code API. Any kind of popup message would have to be created by the developer. The library deals with ambiguous dates very elegantly, but the key is that the developer should detect the user-agent culture and serve up the appropriate culture-specific Datejs file. The library is completely oblivious of the user-agent. Just serve up the appropriate culture-specific file and there should be very few problems.<br />
.<br />
Another option would be to restrict user entry to only two possible formats (&#8220;dd/MM/yy&#8221; and &#8220;MM/dd/yy&#8221;), use .parseExact() instead of .parse() and then prompt the user each time to confirm which format/date they thought they were entering when either the month or day is 12 or lower. But that all seems rather goofy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: okohll</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-259585</link>
		<dc:creator>okohll</dc:creator>
		<pubDate>Fri, 30 Nov 2007 19:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259585</guid>
		<description>Anything like this for Java?</description>
		<content:encoded><![CDATA[<p>Anything like this for Java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eivind Eklund</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-2#comment-259516</link>
		<dc:creator>Eivind Eklund</dc:creator>
		<pubDate>Thu, 29 Nov 2007 15:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259516</guid>
		<description>@Geoffrey McGill, idea about the dd/MM/YY and MM/dd/YY problem:

In many cases, it is hard to know what culture visitors are from.  One way of solving this would be to have the library be able to automatically detect ambigous dates and create a popup where people could select what date they actually meant.

This could possibly be done directly, or at least there could be an API getting a suitable set of strings/suitable information for a popup.  Choice could be remembered in a cookie or available so the library user could put it in persistent storage somewhere.</description>
		<content:encoded><![CDATA[<p>@Geoffrey McGill, idea about the dd/MM/YY and MM/dd/YY problem:</p>
<p>In many cases, it is hard to know what culture visitors are from.  One way of solving this would be to have the library be able to automatically detect ambigous dates and create a popup where people could select what date they actually meant.</p>
<p>This could possibly be done directly, or at least there could be an API getting a suitable set of strings/suitable information for a popup.  Choice could be remembered in a cookie or available so the library user could put it in persistent storage somewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skold</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259481</link>
		<dc:creator>skold</dc:creator>
		<pubDate>Thu, 29 Nov 2007 00:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259481</guid>
		<description>What about fortnights! Even with the En-GB / En-AU l10n files there are no fortnights. I guess it shows how difficult i18n can be -- there are heaps of other locale-specific concepts like &quot;å†æ¥é€±&quot;(JA) for &quot;the week after next&quot;. And do Americans say &quot;Friday week&quot; too, meaning &quot;Friday next week&quot;?

It&#039;s fun to pick apart other people&#039;s code huh. Glad it&#039;s not my date library under scrutiny.</description>
		<content:encoded><![CDATA[<p>What about fortnights! Even with the En-GB / En-AU l10n files there are no fortnights. I guess it shows how difficult i18n can be &#8212; there are heaps of other locale-specific concepts like &#8220;å†æ¥é€±&#8221;(JA) for &#8220;the week after next&#8221;. And do Americans say &#8220;Friday week&#8221; too, meaning &#8220;Friday next week&#8221;?</p>
<p>It&#8217;s fun to pick apart other people&#8217;s code huh. Glad it&#8217;s not my date library under scrutiny.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Hartmann</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259469</link>
		<dc:creator>Jon Hartmann</dc:creator>
		<pubDate>Wed, 28 Nov 2007 20:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259469</guid>
		<description>...wow trolls rule</description>
		<content:encoded><![CDATA[<p>&#8230;wow trolls rule</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: you're an idiot</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259467</link>
		<dc:creator>you're an idiot</dc:creator>
		<pubDate>Wed, 28 Nov 2007 20:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259467</guid>
		<description>Look at the PHP functions for date... they are just connecting that with AJAX... sure it&#039;s nice to have, but it doesn&#039;t deserve this type of hype... you asshat</description>
		<content:encoded><![CDATA[<p>Look at the PHP functions for date&#8230; they are just connecting that with AJAX&#8230; sure it&#8217;s nice to have, but it doesn&#8217;t deserve this type of hype&#8230; you asshat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259463</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 28 Nov 2007 18:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259463</guid>
		<description>Very impressive in thinking outside the box especially.  Practical wise though - it&#039;s the box that I and I think many appreciate and want.  I want to see the big picture - I want to see the calendar.  I want to see what day is the last of the month or what are the dates of each Saturday.  I want something to pick from.  I want to see the whole month or week.  Anyway, it&#039;s still a very cool tool.</description>
		<content:encoded><![CDATA[<p>Very impressive in thinking outside the box especially.  Practical wise though &#8211; it&#8217;s the box that I and I think many appreciate and want.  I want to see the big picture &#8211; I want to see the calendar.  I want to see what day is the last of the month or what are the dates of each Saturday.  I want something to pick from.  I want to see the whole month or week.  Anyway, it&#8217;s still a very cool tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Price</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259458</link>
		<dc:creator>John Price</dc:creator>
		<pubDate>Wed, 28 Nov 2007 17:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259458</guid>
		<description>There&#039;s a Ruby library called Chronic (http://chronic.rubyforge.org/) that handles this same sort of thing (though not client-side, obviously).  Based on the comments here, it sounds like it might have a little wider coverage in terms of what it&#039;ll handle.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a Ruby library called Chronic (<a href="http://chronic.rubyforge.org/" rel="nofollow">http://chronic.rubyforge.org/</a>) that handles this same sort of thing (though not client-side, obviously).  Based on the comments here, it sounds like it might have a little wider coverage in terms of what it&#8217;ll handle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio Lima</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259454</link>
		<dc:creator>Fabio Lima</dc:creator>
		<pubDate>Wed, 28 Nov 2007 16:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259454</guid>
		<description>Hi,

very nice lib, loved it. Question: Is there a way to convert one format to the other?
examples:
* a search in a webservice returns a date in mdy format, and we need to show in dmy format.
* the user types a date in dmy format, and we need to use this in the search on the webservice which uses mdy.

thx</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>very nice lib, loved it. Question: Is there a way to convert one format to the other?<br />
examples:<br />
* a search in a webservice returns a date in mdy format, and we need to show in dmy format.<br />
* the user types a date in dmy format, and we need to use this in the search on the webservice which uses mdy.</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259450</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 28 Nov 2007 16:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259450</guid>
		<description>Very slick.  Any chance of getting start and end dates based on an implied range?

ie &quot;July 2008&quot; becomes:

{start: new Date(2008, 7, 1, 0, 0, 0, 0),
end: new Darte(2008, 8, 1, 0, 0, 0, 0)}</description>
		<content:encoded><![CDATA[<p>Very slick.  Any chance of getting start and end dates based on an implied range?</p>
<p>ie &#8220;July 2008&#8243; becomes:</p>
<p>{start: new Date(2008, 7, 1, 0, 0, 0, 0),<br />
end: new Darte(2008, 8, 1, 0, 0, 0, 0)}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cal Jacobson</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259445</link>
		<dc:creator>Cal Jacobson</dc:creator>
		<pubDate>Wed, 28 Nov 2007 16:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259445</guid>
		<description>Nice work, Geoffrey!  I&#039;m definitely going to keep an eye on this and I look forward to future releases.</description>
		<content:encoded><![CDATA[<p>Nice work, Geoffrey!  I&#8217;m definitely going to keep an eye on this and I look forward to future releases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259441</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Wed, 28 Nov 2007 15:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259441</guid>
		<description>for JSP see an appropriate taglib here http://www.servletsuite.com/servlets/dateaddtag.htm for example</description>
		<content:encoded><![CDATA[<p>for JSP see an appropriate taglib here <a href="http://www.servletsuite.com/servlets/dateaddtag.htm" rel="nofollow">http://www.servletsuite.com/servlets/dateaddtag.htm</a> for example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259438</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 28 Nov 2007 14:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259438</guid>
		<description>Pretty innovative! Hope they keep it up.</description>
		<content:encoded><![CDATA[<p>Pretty innovative! Hope they keep it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Hartmann</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259437</link>
		<dc:creator>Jon Hartmann</dc:creator>
		<pubDate>Wed, 28 Nov 2007 14:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259437</guid>
		<description>@Geoffrey McGill
Thanks for the response... like I said, the phrase doesn&#039;t really make sense, but it does throw it for a loop. Looks like specifying a month and a year together give it problems... &quot;tomorrow, april 2008&quot; yields a date in the 41st century as well.</description>
		<content:encoded><![CDATA[<p>@Geoffrey McGill<br />
Thanks for the response&#8230; like I said, the phrase doesn&#8217;t really make sense, but it does throw it for a loop. Looks like specifying a month and a year together give it problems&#8230; &#8220;tomorrow, april 2008&#8243; yields a date in the 41st century as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tamlyn</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259436</link>
		<dc:creator>Tamlyn</dc:creator>
		<pubDate>Wed, 28 Nov 2007 14:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259436</guid>
		<description>@geoffrey apologies for my ill-informed comment, it was still a bit early in the morning for me and I hadn&#039;t had my coffee! When I said &quot;worse than useless&quot; I was thinking of a scenario where a &#039;classic&#039; date input field would be replaced with this free input field without specifying a format. In this situation it could easily be highly detrimental to usability. But in a web app context it makes a lot more sense once a user learns some of the input formats available (and where the app is aware of the user&#039;s locale/&#039;culture&#039;). 

As an open source developer myself I am aware of the frustration caused by people criticising your work without taking the time to understand it first so I really should have known better!</description>
		<content:encoded><![CDATA[<p>@geoffrey apologies for my ill-informed comment, it was still a bit early in the morning for me and I hadn&#8217;t had my coffee! When I said &#8220;worse than useless&#8221; I was thinking of a scenario where a &#8216;classic&#8217; date input field would be replaced with this free input field without specifying a format. In this situation it could easily be highly detrimental to usability. But in a web app context it makes a lot more sense once a user learns some of the input formats available (and where the app is aware of the user&#8217;s locale/&#8217;culture&#8217;). </p>
<p>As an open source developer myself I am aware of the frustration caused by people criticising your work without taking the time to understand it first so I really should have known better!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: puRe</title>
		<link>http://ajaxian.com/archives/mad-cool-date-library/comment-page-1#comment-259434</link>
		<dc:creator>puRe</dc:creator>
		<pubDate>Wed, 28 Nov 2007 14:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3047#comment-259434</guid>
		<description>Wonderful library.
Anyone of you clicked on the eyes of the ninja in the header?</description>
		<content:encoded><![CDATA[<p>Wonderful library.<br />
Anyone of you clicked on the eyes of the ninja in the header?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

