Michael McLay wrote: >On Thursday 13 December 2001 03:59 pm, Michael P JasonSmith wrote: > >>James Henstridge wrote: >> >>>Michael P JasonSmith wrote: >>> >>>>The GnomeDateEdit widget insists in displaying the dates in mm/dd/yyyy >>>> > >The ISO [1], the IETF[2] , the W3C [3], and the U.S. government [4] recomend >formating a date using yyyy-mm-dd. Unfortunately traditions prevales and >dates written in the 09/01/01 format continue to be used. (So will they be >delivering the new furniture on September 1, 2001 or January 9, 2001.) >Hopefully the Gnome project will change the default date to the ISO >recommendation. Perhaps the use of the broken/obsolete date formats can be >discouraged by making it painful to use the option. (Perhaps selecting one >of the older ambiguous options should emmit shocks through the mouse or the >keyboard:-) > >Whoever created the GnomeDateEdit widget may find the following references >helpful: > In 2.0, the widget follows the locale's format for dates (the output will look the same as that printed by the command "date +%x". If your locale specifies that %x should be rendered as yyyy-mm-dd, it will print as above. IMHO, this is the correct thing for the library to do. Such a change should happen at the C library level (which handles the locales), so that all apps give a consistent appearance that matches the user's locale (one of the big reasons for using strftime in the first place).
James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
