[Koha-bugs] [Bug 25802] New: Koha::Calendar->addDate should be renamed addDuration to better reflect it's purpose
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 12:55:03 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25802
Bug ID: 25802
Summary: Koha::Calendar->addDate should be renamed addDuration
to better reflect it's purpose
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
The Koha::Calendar->addDate method actually expects a 'Duration', either as a
DateTime::Duration object or as an integer and a unit definition.
It would be better-called addDuration to reflect it's nature.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list