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: gmcharlt@gmail.com Reporter: j.kylmala@gmail.com QA Contact: testopia@bugs.koha-community.org 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.