We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca3c995 commit ff58aebCopy full SHA for ff58aeb
src/rman_mount.cpp
@@ -182,7 +182,11 @@ struct Main {
182
for (auto const &p : paths) {
183
auto const name = p.filename().replace_extension("").generic_string() + '/';
184
auto const time_file = fs::last_write_time(p);
185
+#ifdef _MSC_VER
186
+ auto const time_sys = decltype(time_file)::clock::to_utc(time_file).time_since_epoch();
187
+#else
188
auto const time_sys = decltype(time_file)::clock::to_sys(time_file).time_since_epoch();
189
+#endif
190
auto const time_sec = std::chrono::duration_cast<std::chrono::seconds>(time_sys).count();
191
auto bundle_status = RFile::read_file(p, [&, this](RFile &rfile) {
192
if (this->cli.with_prefix) {
0 commit comments