This commit is contained in:
aozhiwei 2019-05-10 20:45:46 +08:00
parent 4a78121aa7
commit dcbdf747c4

View File

@ -191,7 +191,11 @@ namespace a8
struct tm stm = {0};
strptime(datetime_str, "%Y-%m-%d %H:%M:%S", &stm);
long t = mktime(&stm);
#if 1
return t;
#else
return t + g_time_zone*3600;
#endif
}
long long MakeInt64(int low32, int high32)