1
0
mirror of https://github.com/minio/minio-cpp.git synced 2025-07-31 16:24:23 +03:00

fix DST setting properly in UtcTime (#133)

Fixes #132

Signed-off-by: Bala.FA <bala@minio.io>
This commit is contained in:
Bala FA
2024-05-15 13:45:21 +05:30
committed by GitHub
parent dc82f4dc1a
commit 046a41ef15
2 changed files with 19 additions and 5 deletions

View File

@ -120,6 +120,7 @@ class UtcTime {
static std::tm auxLocaltime(const std::time_t& time);
std::tm getBrokenDownTime() const { return auxLocaltime(secs_); }
static std::time_t toUtcSeconds(const std::time_t time);
public:
UtcTime() = default;