http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15153
Bug ID: 15153
Summary: Koha::DateUtils sub dt_from_string has two different
functions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Koha::DateUtils sub dt_from_string has two different functions: get date from
string and return DateTime->now(). I think it would be better to seperate to
other subroutine or remove fully the DateTime->now() because if someone uses
dt_from_string in code to generate the date now it would be really hard for
others to understand what is happening because the subroutine's name doesn't
give any clues.
--
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/