crtime icon indicating copy to clipboard operation
crtime copied to clipboard

Does it support Windows?

Open Delgan opened this issue 6 years ago • 2 comments

Hi. :)

I was interested by your crtime library and while taking a look at the code, I realized that it was retrieving creation time using st_birthtime on all non-Linux platform, including Windows.

I'm quite surprised by this, because I assumed according to the documentation and others implementations, that Windows should use st_ctime while st_birthtime was reserved to Mac systems.

Do you deliberately chose to use st_birthtime on Windows too? Is it the same that st_ctime?

Delgan avatar May 28 '19 22:05 Delgan

Hi Delgan, thanks for pointing this out!

Indeed, I think it is something I overlooked (not using Windows myself). I think you're right given the links you've provided.

Would you want to (optionally use the Github editor and) make a PR, or shall I take care of it?

kootenpv avatar May 28 '19 22:05 kootenpv

Great, thank for your quick response!

I created #3, then. :)

Delgan avatar May 28 '19 22:05 Delgan