mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
Update time.cpp
This commit is contained in:
parent
a04b17abb5
commit
c71349ac3d
@ -107,7 +107,10 @@ namespace g3 {
|
||||
const auto kNanos = 1000000000;
|
||||
ts ->tv_sec = now_ns / kNanos;
|
||||
ts ->tv_nsec = now_ns % kNanos;
|
||||
#ifdef TIME_UTC
|
||||
return TIME_UTC;
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user