Skip to content

Commit dd19cf0

Browse files
authored
Update auth.cpp
1 parent 014d934 commit dd19cf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,9 +1454,9 @@ void debugInfo(std::string data, std::string url, std::string response) {
14541454

14551455
std::tm* localTime = std::localtime(&t);
14561456

1457-
std::strftime(time, sizeof(time), "%M-%d-%Y", localTime);
1457+
std::strftime(time, sizeof(time), "%m-%d-%Y", localTime);
14581458

1459-
std::ofstream logfile(logPath + "\\log.txt", std::ios::app);
1459+
std::ofstream logfile(logPath + "\\" + time + ".txt", std::ios::app);
14601460

14611461
//get time
14621462
int hours = localTime->tm_hour;

0 commit comments

Comments
 (0)