Expose local timezone offset in the property tree.
This commit is contained in:
parent
9df7af3924
commit
40bd985d36
1 changed files with 4 additions and 1 deletions
|
@ -522,6 +522,9 @@ FGProperties::update (double dt)
|
|||
t->tm_hour * 3600 +
|
||||
t->tm_min * 60 +
|
||||
t->tm_sec);
|
||||
|
||||
fgSetInt("/sim/time/local-offset",
|
||||
globals->get_time_params()->get_local_offset());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue