gavinchou commented on code in PR #37535: URL: https://github.com/apache/doris/pull/37535#discussion_r1670053160
########## cloud/src/recycler/azure_obj_client.cpp: ########## @@ -91,12 +92,15 @@ class AzureListIterator final : public ObjectListIterator { DCHECK(!(has_more_ && resp.Blobs.empty())) << has_more_ << ' ' << resp.Blobs.empty(); req_.ContinuationToken = std::move(resp.NextPageToken); results_.reserve(resp.Blobs.size()); + const auto unix_epoch = Azure::DateTime(1970, 1, 1); for (auto&& item : std::ranges::reverse_view(resp.Blobs)) { DCHECK(item.Name.starts_with(*req_.Prefix)) << item.Name << ' ' << *req_.Prefix; results_.emplace_back(ObjectMeta { .key = std::move(item.Name), .size = item.BlobSize, - .mtime_s = item.Details.LastModified.time_since_epoch().count()}); + .mtime_s = duration_cast<std::chrono::seconds>(item.Details.LastModified - Review Comment: comment here -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org