Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (3 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/wrapengine.cpp

    r130 r3185  
    66#include "buildinfo.h"
    77#include "Options.h"
    8 #include "local_filesys.h"
     8
     9#include <libfilezilla/local_filesys.hpp>
    910
    1011#include <wx/statbox.h>
     
    977978                        continue;
    978979
    979                 CDateTime const date = CLocalFileSystem::GetModificationTime(resourceDir.GetPath() + xrc);
    980                 wxString const ticks = std::to_wstring(date.GetTimeT());
     980                fz::datetime const date = fz::local_filesys::get_modification_time(fz::to_native(resourceDir.GetPath() + xrc));
     981                wxString const ticks = std::to_wstring(date.get_time_t());
    981982
    982983                auto resourceElement = FindElementWithAttribute(resources, "xrc", "file", xrc.mb_str());
     
    10511052
    10521053        if (!name.empty()) {
    1053                 CDateTime const date = CLocalFileSystem::GetModificationTime(localesDir.GetPath() + name + _T("/filezilla.mo"));
    1054                 wxString const ticks = std::to_wstring(date.GetTimeT());
     1054                fz::datetime const date = fz::local_filesys::get_modification_time(fz::to_native(localesDir.GetPath() + name + _T("/filezilla.mo")));
     1055                wxString const ticks = std::to_wstring(date.get_time_t());
    10551056
    10561057                wxString languageNodeDate = GetTextAttribute(languageElement, "date");
Note: See TracChangeset for help on using the changeset viewer.