mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Auto-updater minifix
This commit is contained in:
parent
5094ab8283
commit
abfa303e07
2 changed files with 1 additions and 2 deletions
|
@ -217,7 +217,7 @@ bool update_manager::handle_json(const QByteArray& data, bool automatic)
|
|||
auto time_from_str = [](const std::string& str, const std::string& format, tm* tm) -> bool
|
||||
{
|
||||
std::istringstream input(str);
|
||||
input.imbue(std::locale(setlocale(LC_ALL, nullptr)));
|
||||
input.imbue(std::locale(setlocale(LC_ALL, "C")));
|
||||
input >> std::get_time(tm, format.c_str());
|
||||
if (input.fail())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue