Hi all, for the application i''m developping I needed a datepicker widget. I''ve checked the list archives and couldn''t find anything prototype-related. As I''m new to Prototype and Scriptaculous I decided to give a shot at it. So you can find all the information regarding the datepicker at my company''s website : http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous Any feedback, comments are welcomed ! Especially on the js code. Regards, Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Looks good. Might be giving this one a try in my own app. Thanks On 3/10/07, mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote:> > Hi all, > for the application i''m developping I needed a datepicker widget. I''ve > checked the list archives and couldn''t find anything prototype-related. > > As I''m new to Prototype and Scriptaculous I decided to give a shot at > it. So you can find all the information regarding the datepicker at my > company''s website : > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > Any feedback, comments are welcomed ! Especially on the js code. > > Regards, > Mathieu > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
HI, I was looking at needing to write one of these next week. I''d be interested in using yours (maybe modified tho, not sure) in my project- is it free to use? It threw a script error in IE6 btw. Gareth On 3/11/07, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Looks good. Might be giving this one a try in my own app. > > Thanks > > On 3/10/07, mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote: > > > > Hi all, > > for the application i''m developping I needed a datepicker widget. I''ve > > checked the list archives and couldn''t find anything prototype-related. > > > > As I''m new to Prototype and Scriptaculous I decided to give a shot at > > it. So you can find all the information regarding the datepicker at my > > company''s website : > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > Regards, > > Mathieu > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Cool thing :) You should add different Date formats based on locale aswell. Like: 10.03.2007 or 03-10-07 Here is a german translation for your widget: 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ] 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], 'de' : 'schliessen' On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote:> > Hi all, > for the application i'm developping I needed a datepicker widget. I've > checked the list archives and couldn't find anything prototype-related. > > As I'm new to Prototype and Scriptaculous I decided to give a shot at > it. So you can find all the information regarding the datepicker at my > company's website : > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > Any feedback, comments are welcomed ! Especially on the js code. > > Regards, > Mathieu > > > >-- Regards, Kjell www.m3nt0r.de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Check out this post from Ben Nolan. Might be interesting for you: http://www.bennolan.com/articles/2007/02/14/date-prototype-succ On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote:> Cool thing :) > > You should add different Date formats based on locale aswell. Like: > 10.03.2007 or 03-10-07 > Here is a german translation for your widget: > > 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', > 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ] > > 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], > > 'de' : 'schliessen' > > > > On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote: > > > > Hi all, > > for the application i'm developping I needed a datepicker widget. I've > > checked the list archives and couldn't find anything prototype-related. > > > > As I'm new to Prototype and Scriptaculous I decided to give a shot at > > it. So you can find all the information regarding the datepicker at my > > company's website : > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > Regards, > > Mathieu > > > > > > > > > > > -- > Regards, Kjell > www.m3nt0r.de >-- Regards, Kjell www.m3nt0r.de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I think that succ function might need to be added into core, if it isn't already. Gareth On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote:> > Check out this post from Ben Nolan. Might be interesting for you: > http://www.bennolan.com/articles/2007/02/14/date-prototype-succ > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > Cool thing :) > > > > You should add different Date formats based on locale aswell. Like: > > 10.03.2007 or 03-10-07 > > Here is a german translation for your widget: > > > > 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', > > 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', > 'Dezember' ] > > > > 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], > > > > 'de' : 'schliessen' > > > > > > > > On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote: > > > > > > Hi all, > > > for the application i'm developping I needed a datepicker widget. > I've > > > checked the list archives and couldn't find anything > prototype-related. > > > > > > As I'm new to Prototype and Scriptaculous I decided to give a shot > at > > > it. So you can find all the information regarding the datepicker at my > > > company's website : > > > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > > > Regards, > > > Mathieu > > > > > > > > > > > > > > > > > -- > > Regards, Kjell > > www.m3nt0r.de > > > > > -- > Regards, Kjell > www.m3nt0r.de > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
It is :) http://www.prototypejs.org/api/number/succ On 3/11/07, Gareth Evans <agrath@gmail.com> wrote:> I think that succ function might need to be added into core, if it isn't > already. > > Gareth > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > Check out this post from Ben Nolan. Might be interesting for you: > > > http://www.bennolan.com/articles/2007/02/14/date-prototype-succ > > > > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > > Cool thing :) > > > > > > You should add different Date formats based on locale aswell. Like: > > > 10.03.2007 or 03-10-07 > > > Here is a german translation for your widget: > > > > > > 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', > > > 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', > 'Dezember' ] > > > > > > 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], > > > > > > 'de' : 'schliessen' > > > > > > > > > > > > On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote: > > > > > > > > Hi all, > > > > for the application i'm developping I needed a datepicker widget. > I've > > > > checked the list archives and couldn't find anything > prototype-related. > > > > > > > > As I'm new to Prototype and Scriptaculous I decided to give a shot > at > > > > it. So you can find all the information regarding the datepicker at my > > > > company's website : > > > > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > > > > > Regards, > > > > Mathieu > > > > > > > > > > > > > > > > > > > > > > > -- > > > Regards, Kjell > > > www.m3nt0r.de > > > > > > > > > -- > > Regards, Kjell > > www.m3nt0r.de > > > > > > > > >-- Regards, Kjell www.m3nt0r.de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
That's a succ function on the number object, not the date object though? On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote:> > It is :) > > http://www.prototypejs.org/api/number/succ > > On 3/11/07, Gareth Evans <agrath@gmail.com> wrote: > > I think that succ function might need to be added into core, if it isn't > > already. > > > > Gareth > > > > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > > Check out this post from Ben Nolan. Might be interesting for you: > > > > > http://www.bennolan.com/articles/2007/02/14/date-prototype-succ > > > > > > > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > > > Cool thing :) > > > > > > > > You should add different Date formats based on locale aswell. Like: > > > > 10.03.2007 or 03-10-07 > > > > Here is a german translation for your widget: > > > > > > > > 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', > > > > 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', > > 'Dezember' ] > > > > > > > > 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], > > > > > > > > 'de' : 'schliessen' > > > > > > > > > > > > > > > > On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote: > > > > > > > > > > Hi all, > > > > > for the application i'm developping I needed a datepicker > widget. > > I've > > > > > checked the list archives and couldn't find anything > > prototype-related. > > > > > > > > > > As I'm new to Prototype and Scriptaculous I decided to give a > shot > > at > > > > > it. So you can find all the information regarding the datepicker > at my > > > > > company's website : > > > > > > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > > > > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > > > > > > > Regards, > > > > > Mathieu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Regards, Kjell > > > > www.m3nt0r.de > > > > > > > > > > > > > -- > > > Regards, Kjell > > > www.m3nt0r.de > > > > > > > > > > > > > > > > -- > Regards, Kjell > www.m3nt0r.de > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You are right. i misunderstood. sorry. On 3/11/07, Gareth Evans <agrath@gmail.com> wrote:> That's a succ function on the number object, not the date object though? > > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > It is :) > > > > http://www.prototypejs.org/api/number/succ > > > > On 3/11/07, Gareth Evans <agrath@gmail.com> wrote: > > > I think that succ function might need to be added into core, if it isn't > > > already. > > > > > > Gareth > > > > > > > > > On 3/11/07, Kjell Bublitz <m3nt0r.de@gmail.com> wrote: > > > > Check out this post from Ben Nolan. Might be interesting for you: > > > > > > > > http://www.bennolan.com/articles/2007/02/14/date-prototype-succ > > > > > > > > > > > > On 3/11/07, Kjell Bublitz < m3nt0r.de@gmail.com> wrote: > > > > > Cool thing :) > > > > > > > > > > You should add different Date formats based on locale aswell. Like: > > > > > 10.03.2007 or 03-10-07 > > > > > Here is a german translation for your widget: > > > > > > > > > > 'de' : [ 'Januar', 'Februar', 'M�rz', 'April', 'Mai', > > > > > 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', > > > 'Dezember' ] > > > > > > > > > > 'de' : [ 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So' ], > > > > > > > > > > 'de' : 'schliessen' > > > > > > > > > > > > > > > > > > > > On 3/11/07, mathieu@jondet.org <mathieu@jondet.org> wrote: > > > > > > > > > > > > Hi all, > > > > > > for the application i'm developping I needed a datepicker > widget. > > > I've > > > > > > checked the list archives and couldn't find anything > > > prototype-related. > > > > > > > > > > > > As I'm new to Prototype and Scriptaculous I decided to give a > shot > > > at > > > > > > it. So you can find all the information regarding the datepicker > at my > > > > > > company's website : > > > > > > > > > > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > > > > > > > > > > > > Any feedback, comments are welcomed ! Especially on the js code. > > > > > > > > > > > > Regards, > > > > > > Mathieu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Regards, Kjell > > > > > www.m3nt0r.de > > > > > > > > > > > > > > > > > -- > > > > Regards, Kjell > > > > www.m3nt0r.de > > > > > > > > > > > > > > > > > > > > > > > -- > > Regards, Kjell > > www.m3nt0r.de > > > > > > > > >-- Regards, Kjell www.m3nt0r.de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org
2007-Mar-11 01:19 UTC
Re: [ANN] DatePicker
Kjell Bublitz wrote:> Cool thing :)Thanks !> You should add different Date formats based on locale aswell. Like: > 10.03.2007 or 03-10-07This is already handled, if we are in english locale the mm-dd-yyyy format is used, dd-mm-yyyy is used otherwise.> Here is a german translation for your widget: > > ''de'' : [ ''Januar'', ''Februar'', ''M�rz'', ''April'', ''Mai'', > ''Juni'', ''Juli'', ''August'', ''September'', ''Oktober'', ''November'', ''Dezember'' ] > > ''de'' : [ ''Mo'', ''Di'', ''Mi'', ''Do'', ''Fr'', ''Sa'', ''So'' ], > > ''de'' : ''schliessen''Thanks, I''ll integrate it in a future release. Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org
2007-Mar-11 01:23 UTC
Re: [ANN] DatePicker
mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org wrote:>> You should add different Date formats based on locale aswell. Like: >> 10.03.2007 or 03-10-07 > > This is already handled, if we are in english locale the mm-dd-yyyy > format is used, dd-mm-yyyy is used otherwise.Answering too fast, I do handle the case of days and switching if we are in english, but do not handle the case of the date separator : . or -, it''s only / right now. I''ll add in a future release. Thanks. Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org
2007-Mar-11 01:24 UTC
Re: [ANN] DatePicker
Gareth Evans wrote:> HI, I was looking at needing to write one of these next week. > I''d be interested in using yours (maybe modified tho, not sure) in my > project- is it free to use?Sure it''s free, I should add it to the webpage, but the datepicker.js file contains a statement indicating it''s distributed under the same termes as Prototype and Scriptaculous, MIT-license.> It threw a script error in IE6 btw.Ok, I only tested it under Linux as I don''t have a box with IE available right now. A previous version was working ok under IE7 with no warnings, maybe I made a mod that triggered something. Thanks for the report. Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
yeah was ''null is null or not an object'' or something like that... May be fixed in 1.5.1 rc1 On 3/11/07, mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote:> > > Gareth Evans wrote: > > HI, I was looking at needing to write one of these next week. > > I''d be interested in using yours (maybe modified tho, not sure) in my > > project- is it free to use? > > Sure it''s free, I should add it to the webpage, but the datepicker.js > file contains a statement indicating it''s distributed under the same > termes as Prototype and Scriptaculous, MIT-license. > > > It threw a script error in IE6 btw. > > Ok, I only tested it under Linux as I don''t have a box with IE > available right now. A previous version was working ok under IE7 with no > warnings, maybe I made a mod that triggered something. > > Thanks for the report. > > Mathieu > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I will debug on monday if I get time (sunday 2.25 now) On 3/11/07, Gareth Evans <agrath-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > yeah was ''null is null or not an object'' or something like that... > May be fixed in 1.5.1 rc1 > > > On 3/11/07, mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote: > > > > > > Gareth Evans wrote: > > > HI, I was looking at needing to write one of these next week. > > > I''d be interested in using yours (maybe modified tho, not sure) in my > > > project- is it free to use? > > > > Sure it''s free, I should add it to the webpage, but the datepicker.js > > file contains a statement indicating it''s distributed under the same > > termes as Prototype and Scriptaculous, MIT-license. > > > > > It threw a script error in IE6 btw. > > > > Ok, I only tested it under Linux as I don''t have a box with IE > > available right now. A previous version was working ok under IE7 with no > > warnings, maybe I made a mod that triggered something. > > > > Thanks for the report. > > > > Mathieu > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 11, 12:19 pm, "math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org" <math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote:> Kjell Bublitz wrote: > > Cool thing :) > > Thanks ! > > > You should add different Date formats based on locale aswell. Like: > > 10.03.2007 or 03-10-07 > > This is already handled, if we are in english locale the mm-dd-yyyy > format is used, dd-mm-yyyy is used otherwise.English is not a locale, it is a language spoken in a great many locales. It is not reasonable to expect that someone using English will require a date format that is specific to a particular country that happens to speak English. The ISO date standard is the place to start for international date formats: <URL: http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html>-- Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
A few items: Personally, I think there are two concerns The value shown to the user: This should be the localized value And the ISO value commonly: YYYY-MM-DD We have tried using the ISO value for our customers, but they really don''t like it. But it makes sense to standardize the passed value. Secondly,Another calendar is spinelz.org Lastly, the biggest problem I have had with calendars is having their styles be independent. So many calendars are great until incorporated into a main page where there are css style classes. I am looking forward to trying this one! Great work. Deco On Mar 10, 2007, at 9:25 PM, RobG wrote:> > > > On Mar 11, 12:19 pm, "math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org" <math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote: >> Kjell Bublitz wrote: >>> Cool thing :) >> >> Thanks ! >> >>> You should add different Date formats based on locale aswell. Like: >>> 10.03.2007 or 03-10-07 >> >> This is already handled, if we are in english locale the mm-dd-yyyy >> format is used, dd-mm-yyyy is used otherwise. > > English is not a locale, it is a language spoken in a great many > locales. It is not reasonable to expect that someone using English > will require a date format that is specific to a particular country > that happens to speak English. > > The ISO date standard is the place to start for international date > formats: > > <URL: http://www.iso.org/iso/en/prods-services/popstds/ > datesandtime.html >> > > > -- > Rob > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
To get around the concerns of having to specify the locale why don''t we specify a date-format string which has a number of replaces performed on it. That way, you can just specify the return format, aside from the locale. If the users application wants * as a seperator, then they can specify it. For example (this is psudeocode / half vb [for the date stuff] half js [for the prototype stuff]) I may have used hash incorrectly, but you should get the drift placeholders_hash -> { ''MM'': month(currentDate), ''YYYY'': year(currentdate), ''YY'': substr(year(currentdate),2), ''D'': day(currentdate) } formatString = ''D/MM/YYYY'' var outputString = formatString; placeholders_hash.each(function (key,value) { outputString = replace(outputString,key,value) }); alert(outputString); Then by changing formatString, you can control the order, the parts used, the seperator etc. You could make it iso compliant by passing YYYY-MM-DD (assuming all of those placeholders were in the hash) Just an idea... Gareth On 3/12/07, Deco Rior <decorior-w9xKMqPX1QdNhnlO7+U8Og@public.gmane.org> wrote:> > A few items: > > Personally, I think there are two concerns > > The value shown to the user: > > This should be the localized value > > And the ISO value commonly: > > YYYY-MM-DD > > We have tried using the ISO value for our customers, but they really > don''t like it. But it makes sense to standardize the passed value. > > Secondly,Another calendar is spinelz.org > > Lastly, the biggest problem I have had with calendars is having their > styles be independent. So many calendars are great until incorporated > into a main page where there are css style classes. > > I am looking forward to trying this one! > > Great work. > > Deco > > > On Mar 10, 2007, at 9:25 PM, RobG wrote: > > > > > > > > > On Mar 11, 12:19 pm, "math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org" <math...-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote: > >> Kjell Bublitz wrote: > >>> Cool thing :) > >> > >> Thanks ! > >> > >>> You should add different Date formats based on locale aswell. Like: > >>> 10.03.2007 or 03-10-07 > >> > >> This is already handled, if we are in english locale the mm-dd-yyyy > >> format is used, dd-mm-yyyy is used otherwise. > > > > English is not a locale, it is a language spoken in a great many > > locales. It is not reasonable to expect that someone using English > > will require a date format that is specific to a particular country > > that happens to speak English. > > > > The ISO date standard is the place to start for international date > > formats: > > > > <URL: http://www.iso.org/iso/en/prods-services/popstds/ > > datesandtime.html > >> > > > > > > -- > > Rob > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Gareth Evans wrote:> To get around the concerns of having to specify the locale why don''t we > specify a date-format string which has a number of replaces performed on it. > That way, you can just specify the return format, aside from the locale. > If the users application wants * as a seperator, then they can specify it. > > For example (this is psudeocode / half vb [for the date stuff] half js > [for the prototype stuff]) > I may have used hash incorrectly, but you should get the drift > > placeholders_hash -> { ''MM'': month(currentDate), ''YYYY'': > year(currentdate), ''YY'': substr(year(currentdate),2), ''D'': > day(currentdate) } > formatString = ''D/MM/YYYY'' > var outputString = formatString; > placeholders_hash.each(function (key,value) { > outputString = replace(outputString,key,value) }); > alert(outputString); > > Then by changing formatString, you can control the order, the parts > used, the seperator etc. > You could make it iso compliant by passing YYYY-MM-DD (assuming all of > those placeholders were in the hash) > > Just an idea...Hi Gareth, ok, I''ll will work on this type of approach to give more power to the user for formatting the date, thanks for the input. In the meantime I just released an minor update to the initial release v0.9.1 : http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous Here is the ChangeLog : - replace locale by language (RobG) - add support for german language (Kjell Bublitz) - add support for portuguese language - use Prototype.emptyFunction when clickCallBack not defined, should fix possible bug with IE and null objects (Gareth Evans) - some code clean-up using Builder.node Regards, Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
While it may be implied, it''s also best said: The placeholder hash should contain more than just MM, YYYY and D. It should also contain all the other date part constants- YY for 2 digit year, MMM for short date etc. There are many different implementations here, you can keep your code tidy by storing the placeholders and the resulting values for each of the calculations in the hash in my earlier example. Feel free to interchange as you see fit, I tried to keep with a scheme m Month as non zero padded number 2 mm Month as a decimal no, zero padded. 02 M Abbreviated month name Feb MM Full month name February dd Day as number, zeropadded (08) d Day of the month (23) y Day of the year (54) yy Year without century (98) yyyy Year with century (1998) w Weekday (5 (0 is Sunday)) ww Week of year (45) a Abbreviated day name Fri A Weekday Name Friday q Quarter (1) On 3/14/07, Mathieu Jondet <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote:> > > Gareth Evans wrote: > > To get around the concerns of having to specify the locale why don''t we > > specify a date-format string which has a number of replaces performed on > it. > > That way, you can just specify the return format, aside from the locale. > > If the users application wants * as a seperator, then they can specify > it. > > > > For example (this is psudeocode / half vb [for the date stuff] half js > > [for the prototype stuff]) > > I may have used hash incorrectly, but you should get the drift > > > > placeholders_hash -> { ''MM'': month(currentDate), ''YYYY'': > > year(currentdate), ''YY'': substr(year(currentdate),2), ''D'': > > day(currentdate) } > > formatString = ''D/MM/YYYY'' > > var outputString = formatString; > > placeholders_hash.each(function (key,value) { > > outputString = replace(outputString,key,value) }); > > alert(outputString); > > > > Then by changing formatString, you can control the order, the parts > > used, the seperator etc. > > You could make it iso compliant by passing YYYY-MM-DD (assuming all of > > those placeholders were in the hash) > > > > Just an idea... > > > Hi Gareth, > ok, I''ll will work on this type of approach to give more power to the > user for formatting the date, thanks for the input. > In the meantime I just released an minor update to the initial release > v0.9.1 : > http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous > Here is the ChangeLog : > - replace locale by language (RobG) > - add support for german language (Kjell Bublitz) > - add support for portuguese language > - use Prototype.emptyFunction when clickCallBack not defined, should > fix possible bug with IE and null objects (Gareth Evans) > - some code clean-up using Builder.node > > Regards, > Mathieu > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hello, Have you considered aligning it with DHTML calendar? http://www.dynarch.com/projects/calendar/ when you have adopted what that guy does you get perhaps a bigger client base. I know many projects using it because it does everything what is needed. Especially it has a mechanism for the formatting .: Fabian _____ From: grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de@googlegroups.c om [mailto:grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de@google groups.com] On Behalf Of Gareth Evans Sent: Dienstag, 13. März 2007 21:04 To: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails-spinoffs] Re: [ANN] DatePicker v0.9.1 While it may be implied, it''s also best said: The placeholder hash should contain more than just MM, YYYY and D. It should also contain all the other date part constants- YY for 2 digit year, MMM for short date etc. There are many different implementations here, you can keep your code tidy by storing the placeholders and the resulting values for each of the calculations in the hash in my earlier example. Feel free to interchange as you see fit, I tried to keep with a scheme m Month as non zero padded number 2 mm Month as a decimal no, zero padded. 02 M Abbreviated month name Feb MM Full month name February dd Day as number, zeropadded (08) d Day of the month (23) y Day of the year (54) yy Year without century (98) yyyy Year with century (1998) w Weekday (5 (0 is Sunday)) ww Week of year (45) a Abbreviated day name Fri A Weekday Name Friday q Quarter (1) On 3/14/07, Mathieu Jondet <mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org> wrote: Gareth Evans wrote:> To get around the concerns of having to specify the locale why don''t we > specify a date-format string which has a number of replaces performed onit.> That way, you can just specify the return format, aside from the locale. > If the users application wants * as a seperator, then they can specify it.> > For example (this is psudeocode / half vb [for the date stuff] half js > [for the prototype stuff]) > I may have used hash incorrectly, but you should get the drift > > placeholders_hash -> { ''MM'': month(currentDate), ''YYYY'': > year(currentdate), ''YY'': substr(year(currentdate),2), ''D'': > day(currentdate) } > formatString = ''D/MM/YYYY'' > var outputString = formatString; > placeholders_hash.each(function (key,value) { > outputString = replace(outputString,key,value) }); > alert(outputString); > > Then by changing formatString, you can control the order, the parts > used, the seperator etc. > You could make it iso compliant by passing YYYY-MM-DD (assuming all of > those placeholders were in the hash) > > Just an idea...Hi Gareth, ok, I''ll will work on this type of approach to give more power to the user for formatting the date, thanks for the input. In the meantime I just released an minor update to the initial release v0.9.1 : http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous Here is the ChangeLog : - replace locale by language (RobG) - add support for german language (Kjell Bublitz) - add support for portuguese language - use Prototype.emptyFunction when clickCallBack not defined, should fix possible bug with IE and null objects (Gareth Evans) - some code clean-up using Builder.node Regards, Mathieu <br --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Agreed, DHTML calendar is pretty close to what SQL uses for date formatting, I would suggest sticking to an existing standard rather than creating a new one.<br> <br> Colin<br> <br> Fabian Lange wrote: <blockquote cite="mid:008601c765ac$dc773a50$5a01a8c0@fabianspc" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.Section1 {page:Section1;} --> </style> <div class="Section1"> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Hello,<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Have you considered aligning it with DHTML calendar?<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><a moz-do-not-send="true" href="http://www.dynarch.com/projects/calendar/">http://www.dynarch.com/projects/calendar/</a><o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">when you have adopted what that guy does you get perhaps a bigger client base. I know many projects using it because it does everything what is needed. Especially it has a mechanism for the formatting<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">.: Fabian<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p> </o:p></span></font></p> <div> <div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div> <p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org">grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a> [<a class="moz-txt-link-freetext" href="mailto:grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org">mailto:grbounce-_Pkz0AUAAAB9-VKt0-RY8LHUELm10l3Y=fabian.lange=web.de-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Gareth Evans<br> <b><span style="font-weight: bold;">Sent:</span></b> Dienstag, 13. März 2007 21:04<br> <b><span style="font-weight: bold;">To:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org">rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a><br> <b><span style="font-weight: bold;">Subject:</span></b> [Rails-spinoffs] Re: [ANN] DatePicker v0.9.1</span></font><span lang="EN-US"><o:p></o:p></span></p> </div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">While it may be implied, it''s also best said: <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">The placeholder hash should contain more than just MM, YYYY and D. It should also contain all the other date part constants- YY for 2 digit year, MMM for short date etc. <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">There are many different implementations here, you can keep your code tidy by storing the placeholders and the resulting values for each of the calculations in the hash in my earlier example.<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Feel free to interchange as you see fit, I tried to keep with a scheme<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">m Month as non zero padded number 2<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">mm Month as a decimal no, zero padded. 02<br> M Abbreviated month name Feb<br> MM Full month name February<br> dd Day as number, zeropadded (08)<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">d Day of the month (23)<br> y Day of the year (54)<br> yy Year without century (98)<br> yyyy Year with century (1998)<br> w Weekday (5 (0 is Sunday))<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">ww Week of year (45)<br> a Abbreviated day name Fri<br> A Weekday Name Friday<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">q Quarter (1)<o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br> <o:p></o:p></span></font></p> </div> <div> <p class="MsoNormal"><span class="gmailquote"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 3/14/07, <b><span style="font-weight: bold;">Mathieu Jondet</span></b> <<a moz-do-not-send="true" href="mailto:mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org">mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org</a>> wrote:</span></font></span> <o:p></o:p></p> <p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br> Gareth Evans wrote:<br> > To get around the concerns of having to specify the locale why don''t we <br> > specify a date-format string which has a number of replaces performed on it.<br> > That way, you can just specify the return format, aside from the locale.<br> > If the users application wants * as a seperator, then they can specify it. <br> ><br> > For example (this is psudeocode / half vb [for the date stuff] half js<br> > [for the prototype stuff])<br> > I may have used hash incorrectly, but you should get the drift<br> ><br> > placeholders_hash -> { ''MM'': month(currentDate), ''YYYY'': <br> > year(currentdate), ''YY'': substr(year(currentdate),2), ''D'':<br> > day(currentdate) }<br> > formatString = ''D/MM/YYYY''<br> > var outputString = formatString;<br> > placeholders_hash.each(function (key,value) { <br> > outputString = replace(outputString,key,value) });<br> > alert(outputString);<br> ><br> > Then by changing formatString, you can control the order, the parts<br> > used, the seperator etc.<br> > You could make it iso compliant by passing YYYY-MM-DD (assuming all of <br> > those placeholders were in the hash)<br> ><br> > Just an idea...<br> <br> <br> Hi Gareth,<br> ok, I''ll will work on this type of approach to give more power to the<br> user for formatting the date, thanks for the input. <br> In the meantime I just released an minor update to the initial release<br> v0.9.1 :<br> <a moz-do-not-send="true" href="http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous">http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous </a><br> Here is the ChangeLog :<br> - replace locale by language (RobG)<br> - add support for german language (Kjell Bublitz)<br> - add support for portuguese language<br> - use Prototype.emptyFunction when clickCallBack not defined, should <br> fix possible bug with IE and null objects (Gareth Evans)<br> - some code clean-up using Builder.node<br> <br> Regards,<br> Mathieu<br> <br<br> </span></font></p> </div> </div> <font face="Times New Roman" size="3"><br> <br> </font></blockquote> <br> --~--~---------~--~----~------------~-------~--~----~<br> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. <br> To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <br> To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <br> For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br> </body> </html> <br>
mathieu-bYrsAD164vQdnm+yROfE0A@public.gmane.org
2007-Mar-13 23:48 UTC
Re: [ANN] DatePicker v0.9.1
Colin Mollenhour wrote:> Agreed, DHTML calendar is pretty close to what SQL uses for date > formatting, I would suggest sticking to an existing standard rather than > creating a new one. > > Colin >Hi Colin, Fabian, Gareth, I couldn''t agree more. I''ll give a look at what could be used as a way to provide a consistent API and avoid new (inefficient) stuff. Regards, Mathieu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---