Closed overheadhunter closed 5 years ago
When creating a new file without writing anything, the last modified date is not updated and defaults to 1970:
https://github.com/cryptomator/cryptofs/blob/b29c89b43e75c044b0d5969c8fe58cae1e6c26b6/src/main/java/org/cryptomator/cryptofs/fh/OpenCryptoFileModule.java#L48-L54
Instead it should be set to NOW in case of new files.
When creating a new file without writing anything, the last modified date is not updated and defaults to 1970:
https://github.com/cryptomator/cryptofs/blob/b29c89b43e75c044b0d5969c8fe58cae1e6c26b6/src/main/java/org/cryptomator/cryptofs/fh/OpenCryptoFileModule.java#L48-L54
Instead it should be set to NOW in case of new files.