fix(kernel), feat(Timekeeping): Rely on system OVMF firmware for emulation, Rudimentary time zone support

This commit is contained in:
2025-12-06 17:41:58 +01:00
parent 18ab628682
commit bfcc74514b
4 changed files with 60 additions and 26 deletions
+18
View File
@@ -7,6 +7,24 @@
#include <CppLib/CString.hpp>
namespace Timekeeping {
/*
Structure representing the attributes of a time zone; properties and time zone configuration will eventually
be loaded from disk/ramdisk.
*/
struct TimeZone {
/* Time zone naming scheme:
i.e. "Central European Time" / "CET"
*/
CString TZLongName;
CString TZShortName;
/* Hour offset from UTC */
int8_t HourOffset;
/* Minute offset from UTC */
int8_t MinuteOffset;
/* Is daylight saving time */
bool IsDST;
};
const CString Months[] = {
nullptr,
"January",