[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New behavior with variables


Le 25/03/2026 à 00:04, Benoît Minisini a écrit :
Le 24/03/2026 à 22:36, Jussi Lahtinen a écrit :
This works:
dateadd(date(2000,12.1,"12"), gb.year, 1)

This fails:
dateadd(date(2000,12.1,"12"), gb.year, 1.0)

It's a bug.

Jussi


It's just 'DateAdd()' that does not convert its third argument to an integer automatically.


It should be fixed in the last commit.

--
Benoît Minisini.


References:
New behavior with variablesJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: New behavior with variablesJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: New behavior with variablesBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>