[Koha-bugs] [Bug 7802] New: A MySQLism is used to get the current date.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 22 15:18:01 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7802

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7802
          Assignee: gmcharlt at gmail.com
           Summary: A MySQLism is used to get the current date.
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: marc at msys.ch
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Database
           Product: Koha

To get todays date, the MySQL only function CURDATE() or CURRENT_DATE() is
being used in many places.

Neither CURDATE() nor CURRENT_DATE() must be used, but instead the standard
form CAST(now() AS date).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list