mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-10-10 08:55:22 +02:00
fix: git commit message being truncated
This commit is contained in:
1 parent
c83a504648
commit
e78a9ca669
1 file changed
+1
-1
+1
-1
@@ -315,7 +315,7 @@ char *getDateAndTime() {
|
|||||||
struct tm tm_now;
|
struct tm tm_now;
|
||||||
localtime_r(&now, &tm_now);
|
localtime_r(&now, &tm_now);
|
||||||
|
|
||||||
strftime(return_value, sizeof(return_value), "%Y-%m-%%d %H:%M:%%S", &tm_now);
|
strftime(return_value, 20, "%Y-%m-%d %H:%M:%S", &tm_now);
|
||||||
return return_value;
|
return return_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user