Working on ls time parser

This commit is contained in:
ChristianVisintin
2020-12-02 17:00:52 +01:00
parent 5d4b255e26
commit 8dc5995458
2 changed files with 32 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
*/
// Dependencies
extern crate chrono;
extern crate ftp;
extern crate regex;
@@ -239,6 +240,8 @@ impl FileTransfer for FtpFileTransfer {
(owner_pex, group_pex, others_pex)
};
// Parse mtime and convert to SystemTime
// NOTE: two possible time syntax: if %Y is this.year => %b %d %H:%M, otherwise %b %d %Y
// Return
}
}