Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Achim Morschhauser
GeomagLogger
Commits
7252c09c
Commit
7252c09c
authored
Oct 26, 2018
by
Achim Morschhauser
Browse files
gmtime_r
parent
46a5108e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/data_obs.cpp
View file @
7252c09c
...
...
@@ -120,7 +120,7 @@ int data_obs::set_time(struct timespec* time) {
struct
tm
*
tm
;
tm
=
gmtime
(
&
time
->
tv_sec
);
gmtime
_r
(
&
time
->
tv_sec
,
tm
);
year
=
tm
->
tm_year
+
1900
;
mon
=
tm
->
tm_mon
+
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment