Attention to bug 170444

Neil Williams linux at codehelp.co.uk
Mon Aug 29 02:21:42 EDT 2005


On Sunday 28 August 2005 11:39 pm, Thomas Bushnell BSG wrote:

This didn't show up on the list first time, can't see why.

> Thomas Bushnell BSG <tb at becket.net> writes:
> > Attention please to http://bugzilla.gnome.org/show_bug.cgi?id=170444
> > (Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312109).
> >
> > I believe I have the fix.  The problem is that many locales have date
> > string formats longer than eleven characters.

As part of my work on QOF to handle UTC times and to output those to XML in an 
xml-compatible form (that validates with a schema), I'd already upped the 
length to 31:
#define MAX_DATE_LENGTH 31
gnc-date.h

These XML UTC times are not locale-sensitive.

I've no problem making it 40 - do some formats produce strings between 31 and 
40?

> Lol.  This is stunning.  The bug is freakier than I thought at first.
> It is a bug that gnucash only allows 11 character long dates

G2 has been using 31 for about 6 months now.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050829/df97255f/attachment.bin


More information about the gnucash-devel mailing list