https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23079
--- Comment #12 from M. Tompsett <[email protected]> --- > > Why not: > > $from_placed_on->set_year($from_placed_on->year() - 1); > > -- no timezone needed. > > Hum? I do not understand how it will fix the problem. "Do not use this method to do date math. Use the add() and subtract() methods instead." https://metacpan.org/pod/DateTime#%22Set%22-Methods -- Okay, bad suggestion. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
