1
This commit is contained in:
parent
4a78121aa7
commit
dcbdf747c4
@ -191,7 +191,11 @@ namespace a8
|
|||||||
struct tm stm = {0};
|
struct tm stm = {0};
|
||||||
strptime(datetime_str, "%Y-%m-%d %H:%M:%S", &stm);
|
strptime(datetime_str, "%Y-%m-%d %H:%M:%S", &stm);
|
||||||
long t = mktime(&stm);
|
long t = mktime(&stm);
|
||||||
|
#if 1
|
||||||
|
return t;
|
||||||
|
#else
|
||||||
return t + g_time_zone*3600;
|
return t + g_time_zone*3600;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
long long MakeInt64(int low32, int high32)
|
long long MakeInt64(int low32, int high32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user