Skip to content

Commit d5aa18a

Browse files
committed
Use %Y-%m-%d instead of %F for strftime on Windows
1 parent d0699bf commit d5aa18a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ngscopeclient/HistoryDialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ string TimePoint::PrettyPrintDate() const
6464
localtime_r(&base, &ltime);
6565
#endif
6666

67-
strftime(tmp, sizeof(tmp), "%F", &ltime);
67+
strftime(tmp, sizeof(tmp), "%Y-%m-%d", &ltime);
68+
6869
string stime = tmp;
6970
return stime;
7071
}

0 commit comments

Comments
 (0)