koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 1645] New: GetNewsToDisplay in NewsChannels.pm ignores dateformat syspref
Date: Sat, 8 Dec 2007 05:39:21 -0800 (PST)

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: address@hidden
        ReportedBy: address@hidden
         QAContact: address@hidden


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]