Kernel/BAN: move unix time conversion to BAN and add stat to Shell

This commit is contained in:
Bananymous
2023-03-27 00:44:57 +03:00
parent e55860eb6b
commit 666051fd34
7 changed files with 119 additions and 45 deletions

View File

@@ -334,7 +334,7 @@ namespace Kernel
if (error_or.error().get_error_code() != ENOENT)
return error_or.error();
uint64_t current_time = RTC::get_unix_time();
uint64_t current_time = BAN::to_unix_time(RTC::get_current_time());
Ext2::Inode ext2_inode;
ext2_inode.mode = mode;