From: Václav Slavík Date: Mon, 21 Feb 2000 08:37:46 +0000 (+0000) Subject: modif time of FS inet and FS mem files is not wxDateTime::Now, not wxDateTime::Today X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5f8525bf227e95765540cc8d37999ce5f8f428db modif time of FS inet and FS mem files is not wxDateTime::Now, not wxDateTime::Today git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index 05bf75c348..af90f42235 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -146,7 +146,7 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri right, info->GetMime(), GetAnchor(location), - wxDateTime::Today()); + wxDateTime::Now()); } else return (wxFSFile*) NULL; } diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index adee5e641e..1881dce9a8 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -37,7 +37,7 @@ class MemFSHashObj : public wxObject m_Data = new char[len]; memcpy(m_Data, data, len); m_Len = len; - m_Time = wxDateTime::Today(); + m_Time = wxDateTime::Now(); } MemFSHashObj(wxMemoryOutputStream& stream) @@ -45,7 +45,7 @@ class MemFSHashObj : public wxObject m_Len = stream.GetSize(); m_Data = new char[m_Len]; stream.CopyTo(m_Data, m_Len); - m_Time = wxDateTime::Today(); + m_Time = wxDateTime::Now(); } ~MemFSHashObj()