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:

[1]http://www.iso.ch/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=26780
[2] http://www.ietf.org/internet-drafts/draft-ietf-impp-datetime-05.txt 
[3]http://www.w3.org/TR/NOTE-datetime
[4] NIST FIPS 4.2 - http://www.itl.nist.gov/fipspubs/fip4-2.pdf

> > >format.
>
> [snip]
>
> > This is not a pygtk bug, and most likely won't be fixed in
> > gnome-libs-1.x.
> >
> > In the 2.0 tree, it uses the strftime "%x" format string, so it
> > internationalises correctly (ie. doesn't use silly date order in en_AU).
>
> Thanks for that, James.  After discussing it with my boss we decided to
> document the bug, and switch to Gnome 2.x this time next year, rather
> than hack the libs :).
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to