diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-08-15 12:52:35 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-08-16 03:58:47 -0400 |
| commit | 89b10968fcf2ed6ca191c3465b35e131ceb1ed06 (patch) | |
| tree | 87da95c1b1ccea2fafa584ea5af07140c97c9743 /src/web_service/web_backend.cpp | |
| parent | f3ea8a3653f0117f8c0e41c574624b9f966d87d7 (diff) | |
common/time_zone: Simplify GetOsTimeZoneOffset()
We can simplify this function down into a single line with the use of
fmt. A benefit with the fmt approach is that the fmt variant of
localtime is thread-safe as well, making GetOsTimeZoneOffset()
thread-safe as well.
Diffstat (limited to 'src/web_service/web_backend.cpp')
0 files changed, 0 insertions, 0 deletions
