google / glog

C++ implementation of the Google logging module
http://google.github.io/glog/
BSD 3-Clause "New" or "Revised" License
6.99k stars 2.05k forks source link

feat(time): use tm::tm_gmtoff if present #1040

Closed sergiud closed 8 months ago

sergiud commented 8 months ago

This greatly simplifies time computations.

codecov-commenter commented 8 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (eb72e4c) 59.07% compared to head (be21307) 59.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1040 +/- ## ========================================== + Coverage 59.07% 59.17% +0.09% ========================================== Files 19 19 Lines 2551 2557 +6 Branches 913 916 +3 ========================================== + Hits 1507 1513 +6 Misses 695 695 Partials 349 349 ``` | [Files](https://app.codecov.io/gh/google/glog/pull/1040?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=google) | Coverage Δ | | |---|---|---| | [src/glog/logging.h](https://app.codecov.io/gh/google/glog/pull/1040?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=google#diff-c3JjL2dsb2cvbG9nZ2luZy5o) | `73.23% <ø> (ø)` | | | [src/logging.cc](https://app.codecov.io/gh/google/glog/pull/1040?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=google#diff-c3JjL2xvZ2dpbmcuY2M=) | `67.21% <76.92%> (+0.14%)` | :arrow_up: |