Version: (using KDE KDE 3.1.4) Installed from: SuSE RPMs OS: Linux When viewing html files via smb protocol from linux server it always reports document.lastModified as 4:00 pm - Wednesday, December 31st, 1969 i.e. <p> Page last modified on: <script language="Javascript" type="text/javascript"> document.write(document.lastModified()); </script> </p> I just checked and it seem to also do this with normal http:// pages also. I saw report that an older CVS corrected this but it seems to have reappear.
Created attachment 3428 [details] test case it works for file:/ - let's see for http
bugs.kde.org doesn't give any info about last modified, but mozilla just takes the current date in that case while konqueror returns nothing
I wonder what IE does.. we probably should do what it does, since document.lastModified is depreciated, and not standardized in any of w3c's DOM standards.
Subject: Re: document.lastModified always returns 0 (4:00 pm - Wednesday, December 31st, 1969) Which version of the DOM dep-ed it because it's part of javascript since version 1.0 and is in all versions I've looked at since then. Maybe 1.5 but why when I've seen it used on so many site and it is still sent by web servers because its part of HTTP 1.x and also part of smb. All that has to be done is a little massaging to get it in the right format? __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.