<?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: JavaScript date chooser</title>
	<atom:link href="http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: nypan</title>
		<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/#comment-18729</link>
		<dc:creator>nypan</dc:creator>
		<pubDate>Tue, 28 Sep 2010 16:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=17#comment-18729</guid>
		<description>This JS was great!
Thanks so much for sharing!

However, I realized that when I run my page with this nice calender tool in the latest firefox, the month and year can&#039;t be changed. Even if I change the month and year on the drop down menu, the date won&#039;t change as the change with mon&amp;year.
So, is there any ways to solve this problem for firefox?

Thanks again.</description>
		<content:encoded><![CDATA[<p>This JS was great!<br />
Thanks so much for sharing!</p>
<p>However, I realized that when I run my page with this nice calender tool in the latest firefox, the month and year can&#8217;t be changed. Even if I change the month and year on the drop down menu, the date won&#8217;t change as the change with mon&amp;year.<br />
So, is there any ways to solve this problem for firefox?</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oo Rick oO</title>
		<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/#comment-18388</link>
		<dc:creator>Oo Rick oO</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=17#comment-18388</guid>
		<description>Awesome!!  This is the easiest and most straight forward implementation of a simple JavaScript date chooser I have tried.  Everything works great!!  THANK YOU!!</description>
		<content:encoded><![CDATA[<p>Awesome!!  This is the easiest and most straight forward implementation of a simple JavaScript date chooser I have tried.  Everything works great!!  THANK YOU!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogier</title>
		<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/#comment-18278</link>
		<dc:creator>Rogier</dc:creator>
		<pubDate>Mon, 10 May 2010 12:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=17#comment-18278</guid>
		<description>Reply to bubi
---
You’re script is great. It’s so easy to use!!! One question though. How do I change so my week starts with monday, not with Sunday???

Help…
---

Here is what you have to do:

1) Change these things in file &quot;date-functions.js&quot;
--
Date.formatCodeToRegex = function(character, currentGroup) {
    switch (character) {
    case &quot;D&quot;:
        return {g:0,
        c:null,
        s:&quot;(?:Mon&#124;Tue&#124;Wed&#124;Thu&#124;Fri&#124;Sat&#124;Sun)&quot;};
    case &quot;j&quot;:

Date.prototype.getFirstDayOfMonth = function() {
    var day = (this.getDay() - (this.getDate())) % 7;
    return (day &lt; 0) ? (day + 7) : day;
}

Date.dayNames =
   [&quot;Monday&quot;,
    &quot;Tuesday&quot;,
    &quot;Wednesday&quot;,
    &quot;Thursday&quot;,
    &quot;Friday&quot;,
    &quot;Saturday&quot;,
    &quot;Sunday&quot;];
--
2) Change these things in file &quot;datechooser.js&quot;
--
DateChooser.prototype.createCalendarHtml = function() {
    var result = &quot;\r\n&quot;
        + &quot;\r\n  MT&quot;
        + &quot;WTFSS\r\n  &quot;;

--

Good luck with it.

P.S. The script is great!</description>
		<content:encoded><![CDATA[<p>Reply to bubi<br />
&#8212;<br />
You’re script is great. It’s so easy to use!!! One question though. How do I change so my week starts with monday, not with Sunday???</p>
<p>Help…<br />
&#8212;</p>
<p>Here is what you have to do:</p>
<p>1) Change these things in file &#8220;date-functions.js&#8221;<br />
&#8211;<br />
Date.formatCodeToRegex = function(character, currentGroup) {<br />
    switch (character) {<br />
    case &#8220;D&#8221;:<br />
        return {g:0,<br />
        c:null,<br />
        s:&#8221;(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)&#8221;};<br />
    case &#8220;j&#8221;:</p>
<p>Date.prototype.getFirstDayOfMonth = function() {<br />
    var day = (this.getDay() &#8211; (this.getDate())) % 7;<br />
    return (day &lt; 0) ? (day + 7) : day;<br />
}</p>
<p>Date.dayNames =<br />
   [&quot;Monday&quot;,<br />
    &quot;Tuesday&quot;,<br />
    &quot;Wednesday&quot;,<br />
    &quot;Thursday&quot;,<br />
    &quot;Friday&quot;,<br />
    &quot;Saturday&quot;,<br />
    &quot;Sunday&quot;];<br />
&#8211;<br />
2) Change these things in file &quot;datechooser.js&quot;<br />
&#8211;<br />
DateChooser.prototype.createCalendarHtml = function() {<br />
    var result = &quot;\r\n&#8221;<br />
        + &#8220;\r\n  MT&#8221;<br />
        + &#8220;WTFSS\r\n  &#8220;;</p>
<p>&#8211;</p>
<p>Good luck with it.</p>
<p>P.S. The script is great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atasözleri</title>
		<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/#comment-17473</link>
		<dc:creator>Atasözleri</dc:creator>
		<pubDate>Wed, 23 Dec 2009 13:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=17#comment-17473</guid>
		<description>Thank you Xaprb, this script very professional.</description>
		<content:encoded><![CDATA[<p>Thank you Xaprb, this script very professional.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swrjm</title>
		<link>http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/#comment-17019</link>
		<dc:creator>swrjm</dc:creator>
		<pubDate>Sat, 26 Sep 2009 19:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=17#comment-17019</guid>
		<description>bonjour,
moi je viens de trouver ce scripte super sympa. Mais j&#039;ai je problème sous firefox le calendrier ne se réactualise pas si la balise from est dans le tableau lors ce que je change les mois ou année par contre ça fonctionne avec la balise from hors de tableau. Si quel qu&#039;un a la solution merci de me la donner.</description>
		<content:encoded><![CDATA[<p>bonjour,<br />
moi je viens de trouver ce scripte super sympa. Mais j&#8217;ai je problème sous firefox le calendrier ne se réactualise pas si la balise from est dans le tableau lors ce que je change les mois ou année par contre ça fonctionne avec la balise from hors de tableau. Si quel qu&#8217;un a la solution merci de me la donner.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

