httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32622] New: - timefmt ignored for LAST_MODIFIED etc when no language code in filename
Date Fri, 10 Dec 2004 00:04:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32622

           Summary: timefmt ignored for LAST_MODIFIED etc when no language
                    code in filename
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P4
         Component: mod_include
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Edgar.Hoch@ims.uni-stuttgart.de


When using auto negotation then timefmt seems to be ignored.
I use the following sequence:

<!--#config timefmt="%d.%m.%Y" --><!--#echo var="LAST_MODIFIED" -->

The files are named like file.html.de and file.html.en, the first declares
<meta name="content-language" content="de">, the second
<meta name="content-language" content="en">. I know that the meta
content-language tag is not interpresed by the httpd server.

When I call http://server/file.html.de or http://server/file.html.en
then all works as expected. The date is shown by both files
in the requested format (e.g. 10.12.2004).
But if I call http://server/file.html then because of my browsers (mozilla)
preferences the file.html.de page is shown. The date is expected in the
same format as before, but it is shown in the standard 'C' format
(e.g. 10-Dec-2004 00:02:34 MET).

The same happens if I copy file.html.de to file.html and then view it in the
Browser.

I suggest that when using 'timefmt' the shown date format should depend on
'timefmt', not on the way the file is selected (e.g. by name or by negotiation).
It should only depend on the language set if no timefmt is specified.
It should always use 'timefmt'.
Could you please fix it?

Many thanks in advance.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message