[Koha-bugs] [Bug 1645] New: GetNewsToDisplay in NewsChannels.pm ignores dateformat syspref

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Sat Dec 8 14:39:21 CET 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1645

           Summary: GetNewsToDisplay in NewsChannels.pm ignores dateformat
                    syspref
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Catalogue
        AssignedTo: jmf at liblime.com
        ReportedBy: jmf at liblime.com
         QAContact: koha-bugs at nongnu.org


News items displayed on the main page include dates that are pulled from
GetNewsToDisplay in NewsChannels.pm. This subroutine ignores the user's date
format and has hard-coded format:

 my $query = "
     SELECT *,DATE_FORMAT(timestamp, '%d/%m/%Y') AS newdate

This 'newdate' needs to use the user-specified dateformat from the syspref as
it's used for display purposes.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list