diff options
| author | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 16:05:43 +0200 |
|---|---|---|
| committer | Maximilien Cuony <maximilien@theglu.org> | 2016-06-05 16:05:43 +0200 |
| commit | 54b86809942e247648511bab04ea793bcfda2f2c (patch) | |
| tree | ac3ee881b3d6fc76cc820075724c26be478ae1d9 /src/simulator | |
| parent | 9d5ff73c98c9c2da27791813b18721e366d61912 (diff) | |
| download | glutte-o-matic-54b86809942e247648511bab04ea793bcfda2f2c.tar.gz glutte-o-matic-54b86809942e247648511bab04ea793bcfda2f2c.tar.bz2 glutte-o-matic-54b86809942e247648511bab04ea793bcfda2f2c.zip | |
Fix timestamp and fsm date
Diffstat (limited to 'src/simulator')
| -rw-r--r-- | src/simulator/src/Core/fsm.c | 2 |
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; |
