Update LoopData.h
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ public:
|
|||||||
void updateDate() {
|
void updateDate() {
|
||||||
time_t now = time(0);
|
time_t now = time(0);
|
||||||
struct tm tstruct;
|
struct tm tstruct;
|
||||||
tstruct = *gmtime(&now);
|
gmtime_s(&now, &tstruct);
|
||||||
strftime(date, 32, "%a, %d %b %Y %X GMT", &tstruct);
|
strftime(date, 32, "%a, %d %b %Y %X GMT", &tstruct);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user