Subject: Re: bug#31868: Test failure for GnuCash 3.3 (previously 3.0)

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 02 Jan 2019 17:33:04 -0500

Ricardo Wurmus <[email-masked]> writes:

> Efraim Flashner <[email-masked]> writes:
>
>> On Tue, Jan 01, 2019 at 03:15:09PM -0500, Maxim Cournoyer wrote:
>>> Using latest Guix, GnuCash 3.3 fails its test suite by only one test:
>>> 
>>> --8<---------------cut here---------------start------------->8---
>>> [fail] line:644, test: dual amount column, first transaction correct
>>> transaction.scm/display options
>>>  -> expected: ("01/03/18" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
>>>  -> obtained: ("01/03/19" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
>>>  --8<---------------cut here---------------end--------------->8---
>>> 
>>
>> Haven't looked at the test yet, is this a 'yyyy' vs 'YYYY' error in ISO8601?
>
> To me this looks like the test assumes that we’re running it in 2018,
> not $current_year.

Good flair; it turned out to be exactly this.

Fixed with commit 707efe171a4e0e542a7d969c130195fa94b5d615. Closing.

Thank you,

Maxim