change in date format in 2.7

Sébastien de Menten sdementen at gmail.com
Thu Dec 21 15:46:56 EST 2017


Thanks for the clarification!

On Dec 21, 2017 20:18, "John Ralls" <jralls at ceridwen.us> wrote:

That's our general forwards-compatibility guarantee: The last version of
2.6.x is the only version guaranteed to be able to read a 2.8.x
database/file. In this case (but not in several others) users will be able
to save their databases in another format and read it with earlier
versions. I'll have to add a feature flag to prevent earlier 2.6.x versions
from opening a file created with >= 2.7.3 (it's obviously too late to add
it to 2.7.2).

There's an important advantage to using ISO-formatted dates in SQLite3: It
allows the same date string can be used to query all three backends. That's
not something that we use currently but it will be important as we convert
the query system in the next development cycle.

Alen has created https://bugzilla.gnome.org/show_bug.cgi?id=791848, let's
move the discussion there.

Regards,
John Ralls

> On Dec 21, 2017, at 10:49 AM, Sébastien de Menten <sdementen at gmail.com>
wrote:
>
> Ok but then it will be semi-backward incompatible as it will be only
compatible with 2.6.20 which can make it very tricky for users to test 2.8
and then go back to an old gnucash (if needed) < 2.6.20 the user has using
before, no ?
> On piecash side, both formats can be supported so it is more for gnucash
users than piecash users I am worried.
>
> On Dec 21, 2017 3:57 PM, "John Ralls" <jralls at ceridwen.us> wrote:
>
>
> > On Dec 21, 2017, at 1:27 AM, Alen Siljak <alen.siljak at gmx.com> wrote:
> >
> > To get back to Sebastien's question: this does seem like a breaking
change at this stage. Going back to 2.6.19 with the database where a few
transactions have been entered in 2.7.2 shows the dates as 1970-01-01.
>
> That’s a significant problem that I’ll have to fix in 2.6.20. Please file
a bug report. Thanks.
>
> Regards,
> John Ralls
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


More information about the gnucash-devel mailing list