mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-23 02:04:25 +08:00
Fixed merge error leading to compile error.
This commit is contained in:
parent
dac42f89aa
commit
e8ced30a84
@ -119,9 +119,9 @@ struct StringMaker<fs::file_time_type>
|
||||
{
|
||||
std::time_t t = to_time_t(value);
|
||||
std::tm* ptm = std::localtime(&t);
|
||||
std::ostringstream os;
|
||||
if (ptm) {
|
||||
std::tm ttm = *ptm;
|
||||
std::ostringstream os;
|
||||
os << std::put_time(&ttm, "%Y-%m-%d %H:%M:%S");
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user