Comments: How about a <xul:calendar/> widget?

What would be the output?

Should the view be switchable?

Additional idea, there should be a xul:time widget to add a time-of-day to a specified xul:calender (specified by ID or so).

I'm really not too confident that one implementation would work for enough people, though.

As far as code is concerned, it's probably you that should just start away and see if the output makes people kick in ;-).

Posted by Axel Hecht at August 8, 2004 1:50 AM

This is definitely a desired feature. WebForms 2.0 needs some date and time pickers implemented. Or are you thinking of something more complex like the Mozilla Calendar has? Either way, writing up a simple spec and posting it on http://wiki.mozilla.org/XULDev or linking to it from there would be a good idea.

Posted by Neil at August 8, 2004 11:06 AM

There is already a minicalendar widgit in the calendar code. You could work off that.

Posted by Richard Klein at August 8, 2004 12:58 PM

Is there an XPCOM component that provides info about week day names, month names, first day of the week and so on? These would be needed for a calender.

Doing a date/time picker (text input) would require support for localization of the format as well as parsing different locales. Not too trivial to do without access to the underlying OS.

erik

Posted by Erik Arvidsson at August 12, 2004 3:48 PM

Don't forget to check the code for calendar. It already has a widget.

Posted by mvl at August 13, 2004 7:45 AM