diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-05-24 07:54:05 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-06-11 09:32:39 -0400 |
commit | f64fea1b23df163485720c03054b3a17ae0c673a (patch) | |
tree | a54fba35de18018c4d09f2f8b43ed972cebe858b /drivers/unix | |
parent | e82a1113abbb72504e9b12a131738bedb40d3a28 (diff) |
Add Time singleton
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/os_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 15cd7bee92..a5c61bbea5 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -195,8 +195,8 @@ OS::Time OS_Unix::get_time(bool utc) const { } Time ret; ret.hour = lt.tm_hour; - ret.min = lt.tm_min; - ret.sec = lt.tm_sec; + ret.minute = lt.tm_min; + ret.second = lt.tm_sec; get_time_zone_info(); return ret; } |