打开文件的bug。
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user