seems we reversed the timezone offset when setting the hw clock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17440 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5af5259c38
commit
0f22d7cfa8
@ -38,7 +38,7 @@ rtc_system_to_hw(void)
|
||||
uint32 seconds;
|
||||
|
||||
seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time()
|
||||
- (sIsGMT ? 0 : sTimezoneOffset)) / 1000000;
|
||||
+ (sIsGMT ? 0 : sTimezoneOffset)) / 1000000;
|
||||
|
||||
arch_rtc_set_hw_time(seconds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user