打开文件的bug。

This commit is contained in:
unlockable
2023-06-24 19:15:06 +08:00
parent 1c58758515
commit 39b3cec221
5 changed files with 16 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ std::string Date::toString() const {
char buffer[20];
tm curTime;
#ifdef __APPLE__
#if defined __APPLE__ || defined __linux__
curTime = *(localtime(&this->time));
#endif