aboutsummaryrefslogtreecommitdiffstats
path: root/src/simulator
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulator')
-rw-r--r--src/simulator/src/Core/fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulator/src/Core/fsm.c b/src/simulator/src/Core/fsm.c
index ec17e56..6f771c2 100644
--- a/src/simulator/src/Core/fsm.c
+++ b/src/simulator/src/Core/fsm.c
@@ -17,7 +17,7 @@ void fsm_state_switched(char * new_state) {
time_t now = time(NULL);
- struct tm *t = gmtime(&now);
+ struct tm *t = localtime(&now);
gui_last_fsm_states[0] = new_state;
gui_last_fsm_states_timestamps[0] = t->tm_hour * 10000 + t->tm_min * 100 + t->tm_sec;