change in date format in 2.7

John Ralls jralls at ceridwen.us
Wed Dec 20 09:36:13 EST 2017



> On Dec 20, 2017, at 4:38 AM, Sébastien de Menten <sdementen at gmail.com> wrote:
> 
> Hello,
> 
> In books created in gnucash 2.7, the size of the field for date has been
> increased from 14 to 19 characters to move from a custom format to an ISO
> format if I understand properly.
> 
> This is a backward incompatible change, correct ?
> ie GC 2.7 will read previous books and "migrate" them to the new format but
> then the books will not be readable by GC < 2.7.

Uh, what file format do you mean? The only intentional change was to MySQL where we replaced TIMESTAMP with DATETIME, but that appeared during testing to be transparent.

But otherwise, no, it’s not necessarily incompatible as long as the date parser can understand the input it will work either way. Did you test and find that some 2.6.x was unable to read a 2.7.2 file or database?

Regards,
John Ralls




More information about the gnucash-devel mailing list