Code Monkey home page Code Monkey logo

Comments (6)

crftwr avatar crftwr commented on August 24, 2024

cfiler_native.cpp 中の _findFile() で、下記のようにしている箇所が怪しい。

FILETIME local_file_time;
FileTimeToLocalFileTime( &data.ftLastWriteTime, &local_file_time );
FileTimeToSystemTime( &local_file_time, &info.system_time );

from cfiler.

crftwr avatar crftwr commented on August 24, 2024

現在のPCの時刻が夏時間か冬時間かによって、ファイルのタイムスタンプに変換も影響を受けている。ファイルのタイムスタンプ自体が夏時間だったのか冬時間だったのかによって動作するべき。

from cfiler.

crftwr avatar crftwr commented on August 24, 2024

https://docs.microsoft.com/en-us/windows/win32/sysinfo/file-times#file-times-and-daylight-saving-time

from cfiler.

crftwr avatar crftwr commented on August 24, 2024
TIME_ZONE_INFORMATION tz;
GetTimeZoneInformation(&tz);

{
    SYSTEMTIME system_time;
    FileTimeToSystemTime(&data.ftLastWriteTime, &system_time);

    SystemTimeToTzSpecificLocalTime( &tz, &system_time, &info.system_time);
}

from cfiler.

crftwr avatar crftwr commented on August 24, 2024

タイムゾーンの変更処理についても修正が必要。

from cfiler.

crftwr avatar crftwr commented on August 24, 2024

v2.61 で修正

from cfiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.