Kernel/BAN: move unix time conversion to BAN and add stat to Shell
This commit is contained in:
@@ -9,15 +9,18 @@ namespace BAN
|
||||
|
||||
struct Time
|
||||
{
|
||||
uint8_t second;
|
||||
uint8_t minute;
|
||||
uint8_t hour;
|
||||
uint8_t week_day;
|
||||
uint8_t day;
|
||||
uint32_t year;
|
||||
uint8_t month;
|
||||
int year;
|
||||
uint8_t day;
|
||||
uint8_t hour;
|
||||
uint8_t minute;
|
||||
uint8_t second;
|
||||
uint8_t week_day;
|
||||
};
|
||||
|
||||
uint64_t to_unix_time(const BAN::Time&);
|
||||
BAN::Time from_unix_time(uint64_t);
|
||||
|
||||
}
|
||||
|
||||
namespace BAN::Formatter
|
||||
|
||||
Reference in New Issue
Block a user