Maybe DateTime-conversion-bug
Stephan H
Germany
Hello,
I'm not sure if this is a bug or working as intended, but it seems to me like one.
When I'm adding a TDateTime value to a report like
E.g. when I add
I also found a workaround using the DateOf()-Function of Delphi in my program.
Maybe you should fix that behaviour.
Thanks.
I'm not sure if this is a bug or working as intended, but it seems to me like one.
When I'm adding a TDateTime value to a report like
frxReport.AddVariable('MyCategory', 'MyName', ADate)
with
ADate := EndOfTheYear(Now)
or
ADate := EndOfTheMonth(Now)
it seems that the value is rounded wrong by FastReport.E.g. when I add
frxReport.AddVariable('MyCategory', 'MyName', EndOfTheYear(Now))
to my report, the correct value should be 2013-12-31, but FastReport will show 2014-01-01.I also found a workaround using the DateOf()-Function of Delphi in my program.
Maybe you should fix that behaviour.
Thanks.