打开文件的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

@@ -263,7 +263,7 @@ void ListDisplay::promptForFromDate() {
time_t originTime = this->fromDate.getTime();
tm curDate;
#ifdef __APPLE__
#if defined __APPLE__ || defined __linux__
curDate = *(localtime(&originTime));
#endif
@@ -333,7 +333,7 @@ void ListDisplay::promptForToDate() {
tm curDate;
#ifdef __APPLE__
#if defined __APPLE__ || defined __linux__
curDate = *(localtime(&originTime));
#endif