FileHeader icon indicating copy to clipboard operation
FileHeader copied to clipboard

fix(macOS): created time equal last modified time

Open 0xEEEE opened this issue 5 years ago • 1 comments

When add header to an existed file, it always set created time as last modified time, because .st_ctime is equal to .st_mtime on macOS. So I used .st_birthtime to get file's created time, hope it useful for macOS users. Thank you for your work, it's a great plugin.

0xEEEE avatar Apr 03 '19 07:04 0xEEEE

之前判断方法if platform.system() == 'Darwin'无效 修改为if sublime.platform() == 'osx'

0xEEEE avatar Jul 25 '19 10:07 0xEEEE